diff options
author | Steven Schubiger <schubiger@gmail.com> | 2008-02-06 08:25:24 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-07 08:26:48 +0100 |
commit | a09dadf1004aa07e2c31d95d6c80247fec1fa646 (patch) | |
tree | c2d51188fa2964fce85927f5d2dad057fb67b17c /tests/misc | |
parent | 0981b56f266002d607236cbe0aa407b9ab631ad7 (diff) | |
download | coreutils-a09dadf1004aa07e2c31d95d6c80247fec1fa646.tar.xz |
mkdir, split: write --verbose output to stdout, not stderr.
* src/mkdir.c (verbose_output): New function.
(announce_mkdir): Use it.
* src/split.c (usage): Update.
* src/split.c (cwrite): Write to stdout, not stderr.
* doc/coreutils.texi (split invocation): Remove the mention
of --verbose output being printed to stderr.
* tests/mkdir/p-v: Redirect stdout, not stderr.
* tests/misc/split-a: Likewise.
* NEWS: Mention this change.
* TODO: Remove this item.
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/split-a | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/split-a b/tests/misc/split-a index 794115f5c..a8eed3876 100755 --- a/tests/misc/split-a +++ b/tests/misc/split-a @@ -1,7 +1,7 @@ #!/bin/sh # Show that split -a works. -# Copyright (C) 2002-2007 Free Software Foundation, Inc. +# Copyright (C) 2002-2008 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ test -f xaz && fail=1 rm -f x* # With a longer suffix, it must succeed. -split --verbose -b 1 -a 2 in 2> err || fail=1 +split --verbose -b 1 -a 2 in > err || fail=1 test -f xaa || fail=1 test -f xaz || fail=1 test -f xba || fail=1 |