]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tests/TESTonce
TESTonce & others: 'make check' need to do a strict comparison, including spaces
[tcpdump] / tests / TESTonce
index 6eddbd2524daef410ced43e0f1c95fd49bd81ae3..7e55d24a9e9b719992270fa876b5f6f8aabbab2e 100755 (executable)
@@ -13,10 +13,10 @@ $output=$ARGV[2];
 $options=$ARGV[3];
 
 if ($^O eq 'MSWin32') {
-  $r = system "..\\windump -n -r $input $options 2>NUL | tee NEW/$output | diff -w $output - >DIFF/$output.diff";
+  $r = system "..\\windump -n -r $input $options 2>NUL | tee NEW/$output | diff $output - >DIFF/$output.diff";
  }
 else {
-  $r = system "../tcpdump 2>/dev/null -n -r $input $options | tee NEW/$output | diff -w $output - >DIFF/$output.diff";
+  $r = system "../tcpdump 2>/dev/null -n -r $input $options | tee NEW/$output | diff $output - >DIFF/$output.diff";
 }
 
 if($r == 0) {