]> git.sur5r.net Git - bacula/bacula/commitdiff
Add runscript test
authorKern Sibbald <kern@sibbald.com>
Fri, 14 Mar 2008 08:45:15 +0000 (08:45 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 14 Mar 2008 08:45:15 +0000 (08:45 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6611 91ce42f0-d328-0410-95d8-f526ca767f89

regress/DartTestfile.txt.in
regress/all-disk-tests
regress/all-non-root-tests
regress/tests/runscript-test

index f22c6a2a1366b8bf4ecf56fae0db97f8144b7eb2..05b0d50a3d23032c0dee02c14a96ea7fac88a5c4 100644 (file)
@@ -32,6 +32,7 @@ ADD_TEST(all-non-root:regexwhere-test "@regressdir@/tests/regexwhere-test")
 ADD_TEST(all-non-root:restore2-by-file-test "@regressdir@/tests/restore2-by-file-test")
 ADD_TEST(all-non-root:restore-by-file-test "@regressdir@/tests/restore-by-file-test")
 ADD_TEST(all-non-root:restore-disk-seek-test "@regressdir@/tests/restore-disk-seek-test")
+ADD_TEST(all-non-root:runscript-test "@regressdir@/tests/runscript-test")
 ADD_TEST(all-non-root:scratch-pool-test "@regressdir@/tests/scratch-pool-test")
 ADD_TEST(all-non-root:six-vol-test "@regressdir@/tests/six-vol-test")
 ADD_TEST(all-non-root:span-vol-test "@regressdir@/tests/span-vol-test")
index b0c2ea7b89a50958e36534204afd5c2482b548a9..c281ab04147fef0836f9cd80983c1954e515015f 100755 (executable)
@@ -35,7 +35,7 @@ nice tests/recycle-test
 nice tests/restore2-by-file-test
 nice tests/restore-by-file-test
 nice tests/restore-disk-seek-test
-#nice tests/runscript-test
+nice tests/runscript-test
 nice tests/six-vol-test
 nice tests/span-vol-test
 nice tests/maxvol-test
index 626ae6b0e8028043e08f38fe07e27633d30d16a9..c281ab04147fef0836f9cd80983c1954e515015f 100755 (executable)
@@ -35,8 +35,7 @@ nice tests/recycle-test
 nice tests/restore2-by-file-test
 nice tests/restore-by-file-test
 nice tests/restore-disk-seek-test
-# this test fails
-#nice tests/runscript-test
+nice tests/runscript-test
 nice tests/six-vol-test
 nice tests/span-vol-test
 nice tests/maxvol-test
index 137960e41abe2a539282283783dc3952da40b0c4..3f15cb6444e61ded17132174c87de896c4a5ebd8 100755 (executable)
@@ -107,7 +107,7 @@ if [ $a = 0 -a $b = 0 -a $c = 0 -a $d = 0 -a $e = 0 -a $f = 0 ]
 then
    [ "$debug" = 1 ] && echo RUN_FD_FAILED ok
 else
-   echo "RUN_FD_FAILED in error"
+   echo "RUN_FD_FAILED in error a=$a b=$b c=$c d=$d e=$e f=$f"
    rstat=1
 fi
 
@@ -125,7 +125,7 @@ if [ $a = 0 -a $b != 0 -a $c = 0 -a $d = 0 -a $e = 0 ]
 then
    [ "$debug" = 1 ] && echo RUN_FD_FAILED ok
 else
-   echo "RUN_FD_FAILED2 in error"
+   echo "RUN_FD_FAILED2 in error a=$a b=$b c=$d d=$d e=$e"
    rstat=1
 fi