X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-pipe-filter-gi1.c;h=b1f94e114f4dd9c0905504ca5bd0ea3864c30389;hb=18c7880d06e42284d765ef2cb7be4019fdcd9281;hp=1d5aff09ad63aa80864db2f1a66ee75e9a9b4bdc;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-pipe-filter-gi1.c b/tests/test-pipe-filter-gi1.c index 1d5aff09a..b1f94e114 100644 --- a/tests/test-pipe-filter-gi1.c +++ b/tests/test-pipe-filter-gi1.c @@ -1,5 +1,5 @@ /* Test of filtering of data through a subprocess. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This program is free software: you can redistribute it and/or modify @@ -26,8 +26,8 @@ #include "macros.h" -/* Pipe a text file through 'tr a-z A-Z', which converts ASCII characters from - lower case to upper case. */ +/* Pipe a text file through 'tr "[a-z]" "[A-Z]"', which converts ASCII + characters from lower case to upper case. */ struct locals { @@ -96,8 +96,8 @@ main (int argc, char *argv[]) l.nread = 0; argv[0] = tr_program; - argv[1] = "a-z"; - argv[2] = "A-Z"; + argv[1] = "[a-z]"; + argv[2] = "[A-Z]"; argv[3] = NULL; f = pipe_filter_gi_create ("tr", tr_program, argv, false, true,