aboutsummaryrefslogtreecommitdiffstats
path: root/community/entr/fix-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/entr/fix-tests.patch')
-rw-r--r--community/entr/fix-tests.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/entr/fix-tests.patch b/community/entr/fix-tests.patch
new file mode 100644
index 00000000000..e7d7e5f9e05
--- /dev/null
+++ b/community/entr/fix-tests.patch
@@ -0,0 +1,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
+