test that files are really ignored

This commit is contained in:
Thomas Levine 2016-03-06 09:52:14 +00:00
parent a9cad20ff7
commit 5b9bee4ad3

View File

@ -0,0 +1,13 @@
#!/bin/sh
tmp=$(mktemp -d)
mkdir -p $tmp/test
touch $tmp/test/executable-not
echo '#!/usr/bin/env true' > $tmp/test/executable
chmod +x $tmp/test/executable
$TEST_SHELL ../../urchin --tap $tmp/test/executable | grep SKIP
code=$?
rm -r $tmp
test $code -ne 0