run executable stuff
This commit is contained in:
parent
05c478baa9
commit
6685bc6182
1
tests/test_filesystem/fixtures/bladyblah
Normal file
1
tests/test_filesystem/fixtures/bladyblah
Normal file
|
@ -0,0 +1 @@
|
||||||
|
blah
|
3
tests/test_filesystem/test_bin_exists
Executable file
3
tests/test_filesystem/test_bin_exists
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
test -d /bin
|
3
tests/test_filesystem/test_blah_in_file
Executable file
3
tests/test_filesystem/test_blah_in_file
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
grep blah fixtures/bladyblah > /dev/null
|
3
tests/test_filesystem/test_no_aoeuaoeuaoeu
Executable file
3
tests/test_filesystem/test_no_aoeuaoeuaoeu
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
! test -e /aoeuaoeuaoeu
|
3
tests/test_filesystem/test_root_exists
Executable file
3
tests/test_filesystem/test_root_exists
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
test -d /
|
6
urchin
6
urchin
|
@ -12,10 +12,10 @@ recurse() {
|
||||||
done
|
done
|
||||||
[ -f teardown ] && sh teardown
|
[ -f teardown ] && sh teardown
|
||||||
)
|
)
|
||||||
elif [ -f "$potential_test" ]
|
elif [ -x "$potential_test" ]
|
||||||
then
|
then
|
||||||
sh "$potential_test"
|
./"$potential_test"
|
||||||
if [ "$@" = '0' ]
|
if [ "$?" = '0' ]
|
||||||
then
|
then
|
||||||
# Print a '.'
|
# Print a '.'
|
||||||
echo -n .
|
echo -n .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user