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