Browse Source

[213] Make systests work

The workaround with components/x is to be removed at merge with master,
there's a fix for it.
Michal 'vorner' Vaner 13 years ago
parent
commit
5c16ff47ae
1 changed files with 5 additions and 2 deletions
  1. 5 2
      tests/system/bindctl/tests.sh

+ 5 - 2
tests/system/bindctl/tests.sh

@@ -50,7 +50,9 @@ if [ $status != 0 ]; then echo "I:failed"; fi
 n=`expr $n + 1`
 
 echo "I:Stopping b10-auth and checking that ($n)"
-echo 'config set Boss/start_auth false
+echo 'config add Boss/components x
+config remove Boss/components b10-auth
+config remove Boss/components x
 config commit
 quit
 ' | $RUN_BINDCTL \
@@ -61,7 +63,8 @@ if [ $status != 0 ]; then echo "I:failed"; fi
 n=`expr $n + 1`
 
 echo "I:Restarting b10-auth and checking that ($n)"
-echo 'config set Boss/start_auth true
+echo 'config add Boss/components b10-auth
+config set Boss/components/b10-auth { "special": "auth", "kind": "needed" }
 config commit
 quit
 ' | $RUN_BINDCTL \