r21066: Fix the build (uninitialised variable).
authorJelmer Vernooij <jelmer@samba.org>
Wed, 31 Jan 2007 00:30:52 +0000 (00:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:44:26 +0000 (14:44 -0500)
(This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)

source4/script/tests/test_local.sh
source4/torture/torture.c

index 599463441808faeda22e56bd399d7a3f08c05071..0a8f9d6467131395a77ffea47c6b7b70bdffb339 100755 (executable)
@@ -21,9 +21,23 @@ incdir=`dirname $0`
 # the local tests don't need smbd
 SMBD_TEST_FIFO=""
 export SMBD_TEST_FIFO
+skipped="LOCAL-RESOLVE LOCAL-REGISTRY"
+
+echo "WARNING: Skipping $skipped"
 
 failed=0
 for t in $local_tests; do
+    skip=0
+    for s in $skipped; do
+       if [ x"$s" = x"$t" ]; then
+           skip=1;
+           break;
+       fi
+    done
+    if [ $skip = 1 ]; then
+       continue;
+    fi
+
        name="$t"
        testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*"
 done
index 4befd2c043f10b178692a49c24bbdf2b4ff5038e..df25fdce745d744f21569b106dc15c87ae1cf39f 100644 (file)
@@ -48,6 +48,7 @@ struct torture_context *torture_context_init(TALLOC_CTX *mem_ctx,
        struct torture_context *torture = talloc_zero(mem_ctx, 
                                                                                                  struct torture_context);
        torture->ui_ops = ui_ops;
+       torture->returncode = true;
 
        return torture;
 }