]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-test-symlink: Background the containers
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 29 Sep 2015 16:35:25 +0000 (12:35 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 29 Sep 2015 16:35:25 +0000 (12:35 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/tests/lxc-test-symlink

index 37320f0dfd96b262d52bc99e314b7fe3cb026bb1..b014a66911b631e435f969f0acd319a11aadd72b 100644 (file)
@@ -29,7 +29,7 @@ testrun() {
        expected=$1
        run=$2
        pass="pass"
-       lxc-start -P $lxcpath -n symtest1 -l trace -o $lxcpath/log || pass="fail"
+       lxc-start -d -P $lxcpath -n symtest1 -l trace -o $lxcpath/log || pass="fail"
        [ $pass = "pass" ] && lxc-wait -P $lxcpath -n symtest1 -t 10 -s RUNNING || pass="fail"
        if [ "$pass" != "$expected" ]; then
                echo "Test $run: expected $expected but container did not.  Start log:"