urchin/tests/File discovery/Really ignore other files. (1)

14 lines
260 B
Plaintext
Raw Normal View History

2016-03-06 04:52:14 -05:00
#!/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