tests/pdiff
changeset 28337 869e65e68aee
parent 28052 b59ef0c21405
child 33611 a2b55ee62803
--- a/tests/pdiff	Wed Mar 02 14:55:13 2016 -0800
+++ b/tests/pdiff	Wed Mar 02 14:58:29 2016 -0800
@@ -25,7 +25,7 @@
         file2=/dev/null
     fi
 
-    if cmp -s "$file1" "$file2"; then
+    if cmp -s "$file1" "$file2" 2> /dev/null; then
         # Return immediately, because comparison isn't needed. This
         # also avoids redundant message of diff like "No differences
         # encountered" (on Solaris)