Add a test for the quotearg_buffer bug.
authorJim Meyering <jim@meyering.net>
Fri, 11 Dec 1998 14:13:29 +0000 (14:13 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 11 Dec 1998 14:13:29 +0000 (14:13 +0000)
tests/ls-2/tests

index a863d09..7e3713f 100755 (executable)
@@ -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],