##// END OF EJS Templates
tests: Solaris cmp complains about empty files, even with -s...
Danek Duvall -
r28337:869e65e6 default
parent child Browse files
Show More
@@ -25,7 +25,7 b' filediff(){'
25 file2=/dev/null
25 file2=/dev/null
26 fi
26 fi
27
27
28 if cmp -s "$file1" "$file2"; then
28 if cmp -s "$file1" "$file2" 2> /dev/null; then
29 # Return immediately, because comparison isn't needed. This
29 # Return immediately, because comparison isn't needed. This
30 # also avoids redundant message of diff like "No differences
30 # also avoids redundant message of diff like "No differences
31 # encountered" (on Solaris)
31 # encountered" (on Solaris)
General Comments 0
You need to be logged in to leave comments. Login now