aboutsummaryrefslogtreecommitdiff
path: root/tests/scope/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scope/test.sh')
-rwxr-xr-xtests/scope/test.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/scope/test.sh b/tests/scope/test.sh
index 61194f6..2728a9d 100755
--- a/tests/scope/test.sh
+++ b/tests/scope/test.sh
@@ -2,11 +2,14 @@
# In-tree.
#
-b amalgamation/l1/ 2>/dev/null | diff -u test-1.out -
+b amalgamation/l1/ 2>/dev/null | diff --strip-trailing-cr -u test-1.out -
# Out-of-tree.
#
rm -rf a-out/
b 'configure(amalgamation/@a-out/)' 2>/dev/null
-b amalgamation/l1/@a-out/l1/ 2>/dev/null | diff -u test-2.out -
+
+b amalgamation/l1/@a-out/l1/ 2>/dev/null | \
+ diff --strip-trailing-cr -u test-2.out -
+
rm -rf a-out/