summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fmt/basic6
-rwxr-xr-xtests/ls-2/tests2
-rwxr-xr-xtests/misc/printf-hex4
-rwxr-xr-xtests/sort/Test.pm4
-rw-r--r--tests/uniq/Test.pm2
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/fmt/basic b/tests/fmt/basic
index 991f01d69..28c4fb91a 100755
--- a/tests/fmt/basic
+++ b/tests/fmt/basic
@@ -24,9 +24,9 @@ use strict;
my @Tests =
(
- ['8-bit-pfx', qw (-p 'ç'),
- {IN=> "ça\nçb\n"},
- {OUT=>"ça b\n"}],
+ ['8-bit-pfx', qw (-p 'ç'),
+ {IN=> "ça\nçb\n"},
+ {OUT=>"ça b\n"}],
['wide-1', '-w 32768',
{ERR => "fmt: invalid width: `32768'\n"}, {EXIT => 1}],
['wide-2', '-w 2147483647',
diff --git a/tests/ls-2/tests b/tests/ls-2/tests
index 7b1a14ab2..788ce85ab 100755
--- a/tests/ls-2/tests
+++ b/tests/ls-2/tests
@@ -92,7 +92,7 @@ my @Tests =
{OUT => "\e[0m\e[01;32md\e[0m\n\e[m"},
$exe_in_subdir, $remove_j],
- # From Stéphane Chazelas.
+ # From Stéphane Chazelas.
['no-a-isdir-b', 'no-dir d',
{OUT => "d:\n"},
{ERR => "ls: no-dir: No such file or directory\n"},
diff --git a/tests/misc/printf-hex b/tests/misc/printf-hex
index 73f4ab024..7fbd1c1dd 100755
--- a/tests/misc/printf-hex
+++ b/tests/misc/printf-hex
@@ -24,9 +24,9 @@ fi
fail=0
-$prog '\xf73\n' > out || fail=1
+$prog '\x7e3\n' > out || fail=1
cat <<\EOF > exp
-÷3
+~3
EOF
cmp out exp || fail=1
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm
index 022c1ae04..e39b91625 100755
--- a/tests/sort/Test.pm
+++ b/tests/sort/Test.pm
@@ -147,8 +147,8 @@ my @tv = (
# From Erick Branderhorst -- fixed around 1.19e
["16a", '-f',
- "éminence\nüberhaupt\n's-Gravenhage\naëroclub\nAag\naagtappels\n",
- "'s-Gravenhage\nAag\naagtappels\naëroclub\néminence\nüberhaupt\n",
+ "éminence\nüberhaupt\n's-Gravenhage\naëroclub\nAag\naagtappels\n",
+ "'s-Gravenhage\nAag\naagtappels\naëroclub\néminence\nüberhaupt\n",
0],
# This provokes a one-byte memory overrun of a malloc'd block for versions
diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm
index c846a1d02..ef5d048a5 100644
--- a/tests/uniq/Test.pm
+++ b/tests/uniq/Test.pm
@@ -15,7 +15,7 @@ my @tv = (
['6', '', "b\na\na\n", "b\na\n", 0],
['7', '', "a\nb\nc\n", "a\nb\nc\n", 0],
# Make sure that eight bit characters work
-['8', '', "ö\nv\n", "ö\nv\n", 0],
+['8', '', "ö\nv\n", "ö\nv\n", 0],
# Test output of -u option; only unique lines
['9', '-u', "a\na\n", "", 0],
['10', '-u', "a\nb\n", "a\nb\n", 0],