From: Jim Meyering Date: Fri, 4 Jul 1997 19:12:25 +0000 (+0000) Subject: Redirect output of cmp to /dev/null. X-Git-Tag: SH-UTILS-1_16c~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=581b1540f5a6cbc8d8a2590c09872527a8d1240b;p=thirdparty%2Fcoreutils.git Redirect output of cmp to /dev/null. --- diff --git a/tests/cut/mk-script.pl b/tests/cut/mk-script.pl index adfba98d2f..d116cc0f23 100644 --- a/tests/cut/mk-script.pl +++ b/tests/cut/mk-script.pl @@ -312,7 +312,7 @@ if test \$code != $e_ret_code ; then \$echo "Test $t_name failed: $xx return code \$code differs from expected value $e_ret_code" 1>&2 errors=`expr \$errors + 1` else - cmp $out $exp_name + cmp $out $exp_name > /dev/null 2>&1 case \$? in 0) if test "\$VERBOSE" ; then \$echo "passed $t_name"; fi ;; 1) \$echo "Test $t_name failed: files $out and $exp_name differ" 1>&2; diff --git a/tests/head/mk-script.pl b/tests/head/mk-script.pl index adfba98d2f..d116cc0f23 100644 --- a/tests/head/mk-script.pl +++ b/tests/head/mk-script.pl @@ -312,7 +312,7 @@ if test \$code != $e_ret_code ; then \$echo "Test $t_name failed: $xx return code \$code differs from expected value $e_ret_code" 1>&2 errors=`expr \$errors + 1` else - cmp $out $exp_name + cmp $out $exp_name > /dev/null 2>&1 case \$? in 0) if test "\$VERBOSE" ; then \$echo "passed $t_name"; fi ;; 1) \$echo "Test $t_name failed: files $out and $exp_name differ" 1>&2; diff --git a/tests/join/mk-script.pl b/tests/join/mk-script.pl index adfba98d2f..d116cc0f23 100644 --- a/tests/join/mk-script.pl +++ b/tests/join/mk-script.pl @@ -312,7 +312,7 @@ if test \$code != $e_ret_code ; then \$echo "Test $t_name failed: $xx return code \$code differs from expected value $e_ret_code" 1>&2 errors=`expr \$errors + 1` else - cmp $out $exp_name + cmp $out $exp_name > /dev/null 2>&1 case \$? in 0) if test "\$VERBOSE" ; then \$echo "passed $t_name"; fi ;; 1) \$echo "Test $t_name failed: files $out and $exp_name differ" 1>&2; diff --git a/tests/ls/mk-script.pl b/tests/ls/mk-script.pl index adfba98d2f..d116cc0f23 100644 --- a/tests/ls/mk-script.pl +++ b/tests/ls/mk-script.pl @@ -312,7 +312,7 @@ if test \$code != $e_ret_code ; then \$echo "Test $t_name failed: $xx return code \$code differs from expected value $e_ret_code" 1>&2 errors=`expr \$errors + 1` else - cmp $out $exp_name + cmp $out $exp_name > /dev/null 2>&1 case \$? in 0) if test "\$VERBOSE" ; then \$echo "passed $t_name"; fi ;; 1) \$echo "Test $t_name failed: files $out and $exp_name differ" 1>&2;