summaryrefslogtreecommitdiff
path: root/tests/misc/printf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/printf')
-rwxr-xr-xtests/misc/printf8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/misc/printf b/tests/misc/printf
index b9092e17f..276541968 100755
--- a/tests/misc/printf
+++ b/tests/misc/printf
@@ -34,7 +34,7 @@ cat <<\EOF > exp
foo
EOF
-compare out exp || fail=1
+compare exp out || fail=1
rm -f out exp
# Until coreutils-4.5.10, this would elicit a segfault.
@@ -94,7 +94,7 @@ cat <<\EOF > exp
11 x
EOF
-compare out exp || fail=1
+compare exp out || fail=1
# Verify handling of single quote chars (\' or \")
@@ -121,7 +121,7 @@ printf: ": expected a numeric value
printf: a: expected a numeric value
EOF
-compare out exp || fail=1
-compare err exp_err || fail=1
+compare exp out || fail=1
+compare exp_err err || fail=1
Exit $fail