From 5b9bee4ad323c80fe56f31a25028822a012ad7f0 Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Sun, 6 Mar 2016 09:52:14 +0000 Subject: [PATCH] test that files are really ignored --- tests/File discovery/Really ignore other files. | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/File discovery/Really ignore other files. diff --git a/tests/File discovery/Really ignore other files. b/tests/File discovery/Really ignore other files. new file mode 100755 index 0000000..a998350 --- /dev/null +++ b/tests/File discovery/Really ignore other files. @@ -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