summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
authorSteven Schubiger <schubiger@gmail.com>2008-02-06 08:25:24 +0100
committerJim Meyering <meyering@redhat.com>2008-02-07 08:26:48 +0100
commita09dadf1004aa07e2c31d95d6c80247fec1fa646 (patch)
treec2d51188fa2964fce85927f5d2dad057fb67b17c /tests/mkdir
parent0981b56f266002d607236cbe0aa407b9ab631ad7 (diff)
downloadcoreutils-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/mkdir')
-rwxr-xr-xtests/mkdir/p-v4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mkdir/p-v b/tests/mkdir/p-v
index 2c84b41d6..569e9b072 100755
--- a/tests/mkdir/p-v
+++ b/tests/mkdir/p-v
@@ -1,7 +1,7 @@
#!/bin/sh
# Test mkdir -pv.
-# Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2006-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
@@ -24,7 +24,7 @@ fi
. $srcdir/../lang-default
. $srcdir/../test-lib.sh
-mkdir -pv foo/a/b/c/d 2>out || exit
+mkdir -pv foo/a/b/c/d >out || exit
diff - out <<\EOF
mkdir: created directory `foo'