tests for skipping dirs and files
This commit is contained in:
parent
cf0c5b3233
commit
d2290911df
3
tests/Skipping/dir+x
Executable file
3
tests/Skipping/dir+x
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
mkdir $testsuite/dir+x
|
||||||
|
chmod +x $testsuite/dir+x
|
||||||
|
! ../../urchin -t $testsuite | grep SKIP
|
3
tests/Skipping/dir-x
Executable file
3
tests/Skipping/dir-x
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
touch $testsuite/dir-x
|
||||||
|
chmod -x $testsuite/dir-x
|
||||||
|
../../urchin -t $testsuite | grep SKIP
|
3
tests/Skipping/file+x
Executable file
3
tests/Skipping/file+x
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
touch $testsuite/file+x
|
||||||
|
chmod +x $testsuite/file+x
|
||||||
|
! ../../urchin -t $testsuite | grep SKIP
|
3
tests/Skipping/file-x
Executable file
3
tests/Skipping/file-x
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
touch $testsuite/file-x
|
||||||
|
chmod -x $testsuite/file-x
|
||||||
|
../../urchin -t $testsuite | grep SKIP
|
3
tests/Skipping/setup
Normal file
3
tests/Skipping/setup
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export tmp=$(mktemp -d)
|
||||||
|
export testsuite=$tmp/test
|
||||||
|
touch $testsuite/.urchin
|
1
tests/Skipping/teardown
Normal file
1
tests/Skipping/teardown
Normal file
@ -0,0 +1 @@
|
|||||||
|
rm -R $testsuite
|
Loading…
x
Reference in New Issue
Block a user