aports/community/entr/fix-tests.patch
2017-03-02 01:19:10 +00:00

12 lines
396 B
Diff

--- eradman-entr-c5b62bde107d/system_test.sh
+++ eradman-entr-c5b62bde107d/system_test.sh.new
@@ -304,7 +304,7 @@
kill -INT $bgpid
wait $bgpid || assert "$?" "130"
assert "$(cat $tmp/exec.err)" ""
- assert "$(cat $tmp/exec.out)" "$(printf ${tmp}'/file2: ASCII text')"
+ assert "$(head -n1 $tmp/exec.out)" "$(printf ${tmp}'/file2: ASCII text')"
# extra slow tests that rely on timeouts