From ff7f0ff85c40174f1885ec61fa4ab6b73d02b555 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Nov 2010 12:02:39 +0100 Subject: tests: convert 'if test "$VERBOSE" = yes; then' to test ... && --- tests/mv/childproof | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tests/mv/childproof') diff --git a/tests/mv/childproof b/tests/mv/childproof index 057ce91d4..2e5e4611c 100755 --- a/tests/mv/childproof +++ b/tests/mv/childproof @@ -18,14 +18,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if test "$VERBOSE" = yes; then - set -x - cp --version - mv --version - ln --version -fi - . $srcdir/test-lib.sh +test "$VERBOSE" = yes && { cp --version; mv --version; ln --version; } + skip_if_root_ mkdir a b c || framework_failure -- cgit v1.2.3-54-g00ecf