summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-12-11 14:13:29 +0000
committerJim Meyering <jim@meyering.net>1998-12-11 14:13:29 +0000
commit0e65b3e86170ffd04caa1c9fd29f2504a9e1542a (patch)
tree74e519d7f0b23c846b626dec84808cac78a64458 /tests
parent458aad90ab73ce721e31711adb3bc4677c0b16da (diff)
downloadcoreutils-0e65b3e86170ffd04caa1c9fd29f2504a9e1542a.tar.xz
Add a test for the quotearg_buffer bug.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ls-2/tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ls-2/tests b/tests/ls-2/tests
index a863d099d..7e3713f08 100755
--- a/tests/ls-2/tests
+++ b/tests/ls-2/tests
@@ -39,6 +39,8 @@ my @Tests =
['q-qs-sh-a', '--quoting=shell-always', $q_bell, {OUT => "'q\a'\n"}],
['q-qs-c', '--quoting=c', $q_bell, {OUT => "\"q\\a\"\n"}],
['q-qs-esc', '--quoting=escape', $q_bell, {OUT => "q\\a\n"}],
+ ['q-qs-c-1', '--quoting=c',
+ {IN => {"t\004" => ''}}, {OUT => "\"t\\004\"\n"}],
['emptydir', 'd', {OUT => ''}, $mkdir, $rmdir],
['emptydir-x2', 'd d', {OUT => "d:\n\nd:\n"}, $mkdir, $rmdir],