Skip to content

Commit 832e3e5

Browse files
committed
Ensure 'no input' test does not try to read STDIN
1 parent 3458504 commit 832e3e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.bsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test: entr
1919
ls entr.1 | EV_TRACE=1 ./entr -zn wc -l entr.1
2020

2121
check: entr
22-
./system_test.sh
22+
@./system_test.sh
2323

2424
clean:
2525
rm -f *.o compat.c entr

system_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ try "no arguments"
6666
assert $code 1
6767

6868
try "no input"
69-
entr echo "vroom" 2> /dev/null || code=$?
69+
echo | entr echo "vroom" 2> /dev/null || code=$?
7070
assert $code 1
7171

7272
try "reload and clear options with no utility to run"

0 commit comments

Comments
 (0)