]> git.sur5r.net Git - bacula/bacula/commitdiff
Add run_multiple
authorKern Sibbald <kern@sibbald.com>
Wed, 5 Mar 2008 20:32:56 +0000 (20:32 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 5 Mar 2008 20:32:56 +0000 (20:32 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6536 91ce42f0-d328-0410-95d8-f526ca767f89

regress/run_multiple [new file with mode: 0755]

diff --git a/regress/run_multiple b/regress/run_multiple
new file mode 100755 (executable)
index 0000000..6263175
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+for i in `seq 20` ; do
+  echo "Doing $1"
+  $1 >1
+  if [ $? -ne 0 ] ; then
+     echo "Exit $?"
+     exit 1
+  fi
+done