From a09dadf1004aa07e2c31d95d6c80247fec1fa646 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Wed, 6 Feb 2008 08:25:24 +0100 Subject: 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. --- tests/misc/split-a | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/misc/split-a') 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 -- cgit v1.2.3-54-g00ecf