urchin/tests/File discovery/Really ignore other files. (1)
Thomas Levine 338b779cb9 file discovery tests
come up finally with failing tests
2016-03-06 09:57:38 +00:00

14 lines
260 B
Bash
Executable File

#!/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