qa: We want to stop on errors. Add new scripts.

This commit is contained in:
Greg Farnum 2009-11-13 14:38:50 -08:00
parent aa4e5b5752
commit a3cb25c955
3 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash -x
#set -e
set -e
basedir=`pwd`
testdir="${basedir}/testspace"

6
qa/runonceph.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash -x
mkdir -p testspace
cfuse testspace -m $1
./runallonce.sh

10
qa/workunits/snaptest1.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
echo 1 > file1
echo 2 > file2
echo 3 > file3
mkdir .snap/snap1
echo 4 > file4
if [ `ls` -eq `ls .snap/snap1` ]
return -1
fi