1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-31 04:50:19 +02:00

*** empty log message ***

This commit is contained in:
Jim Meyering
1998-08-15 21:38:08 +00:00
parent 0d33861999
commit c2bbdeab6d
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -42,6 +42,9 @@ sub _create_file ($$$$$)
return $file;
}
# FIXME: cleanup on interrupt
# FIXME: extract `do_1_test' function
# FIXME: having to include $program_name here is an expedient kludge.
# Library code doesn't `die'.
sub run_tests ($$$$$)
+6
View File
@@ -5,6 +5,11 @@ use strict;
my $program_name;
($program_name = $0) =~ s|.*/||;
# Make sure the tools use the expected locale.
$ENV{LANGUAGE} = 'C';
$ENV{LC_ALL} = 'C';
$ENV{LANG} = 'C';
# A file spec: a scalar or a reference to a single-keyed hash
# ================
# 'contents' contents only (file name is derived from test name)
@@ -43,6 +48,7 @@ my @Tests =
['q-q', '-q', $q_bell, {OUT => "q?\n"}],
['q-Q', '-Q', $q_bell, {OUT => "\"q\\a\"\n"}],
['q-lit-q', '--quoting=literal -q', $q_bell, {OUT => "q?\n"}],
['q-qs-lit', '--quoting=literal', $q_bell, {OUT => "q\a\n"}],
['q-qs-sh', '--quoting=shell', $q_bell, {OUT => "q\a\n"}],
['q-qs-sh-a', '--quoting=shell-always', $q_bell, {OUT => "'q\a'\n"}],