aboutsummaryrefslogtreecommitdiffstats
path: root/community/entr/fix-tests.patch
blob: e7d7e5f9e05f08f40b014def9802d60d569a9920 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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