mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
qa: We want to stop on errors. Add new scripts.
This commit is contained in:
parent
aa4e5b5752
commit
a3cb25c955
@ -1,6 +1,6 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
#set -e
|
||||
set -e
|
||||
|
||||
basedir=`pwd`
|
||||
testdir="${basedir}/testspace"
|
||||
|
||||
6
qa/runonceph.sh
Executable file
6
qa/runonceph.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
mkdir -p testspace
|
||||
cfuse testspace -m $1
|
||||
|
||||
./runallonce.sh
|
||||
10
qa/workunits/snaptest1.sh
Normal file
10
qa/workunits/snaptest1.sh
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user