From: Jim Meyering Date: Fri, 11 Dec 1998 14:13:29 +0000 (+0000) Subject: Add a test for the quotearg_buffer bug. X-Git-Tag: FILEUTILS-4_1-b1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e65b3e86170ffd04caa1c9fd29f2504a9e1542a;p=thirdparty%2Fcoreutils.git Add a test for the quotearg_buffer bug. --- diff --git a/tests/ls-2/tests b/tests/ls-2/tests index a863d099d0..7e3713f087 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],