X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-pipe-filter-ii1.c;h=3d3bbd51060099d5bd4ac175b9cd96f13d01de8c;hb=d1a06d87a70c6a1f0588a70c91c182f6873aae41;hp=58cc1926c5b6f2be609b49253630f30450a7e4c0;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-pipe-filter-ii1.c b/tests/test-pipe-filter-ii1.c index 58cc1926c..3d3bbd510 100644 --- a/tests/test-pipe-filter-ii1.c +++ b/tests/test-pipe-filter-ii1.c @@ -1,5 +1,5 @@ /* Test of filtering of data through a subprocess. - Copyright (C) 2009, 2010 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 { @@ -119,8 +119,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; result = pipe_filter_ii_execute ("tr", tr_program, argv, false, true,