socsvn commit: r238033 - soc2012/jhagewood/diff

jhagewood at FreeBSD.org jhagewood at FreeBSD.org
Wed Jun 20 22:17:08 UTC 2012


Author: jhagewood
Date: Wed Jun 20 22:17:05 2012
New Revision: 238033
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=238033

Log:

Modified:
  soc2012/jhagewood/diff/diff-test.sh

Modified: soc2012/jhagewood/diff/diff-test.sh
==============================================================================
--- soc2012/jhagewood/diff/diff-test.sh	Wed Jun 20 22:03:34 2012	(r238032)
+++ soc2012/jhagewood/diff/diff-test.sh	Wed Jun 20 22:17:05 2012	(r238033)
@@ -30,20 +30,23 @@
 diff -u --normal 1.txt 2.txt >> ./test_outputs/gnu/normal.txt
 
 # --brief
-diff -b 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
-diff --brief 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
+diff -b 1.txt 2.txt >> ./test_outputs/gnu/brief.txt
+diff --brief 1.txt 2.txt >> ./test_outputs/gnu/brief.txt
 
 # --ed 
-diff -ed 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
-diff -e 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
+diff -ed 1.txt 2.txt >> ./test_outputs/gnu/ed.txt
+diff -e 1.txt 2.txt >> ./test_outputs/gnu/ed.txt
 
 # --expand-tabs
-diff --expand-tabs 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
-diff -t 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
+diff --expand-tabs 1.txt 2.txt >> ./test_outputs/gnu/expand-tabs.txt
+diff -t 1.txt 2.txt >> ./test_outputs/gnu/expand-tabs.txt
 
 # --forward-ed
-diff --forward-ed 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
-diff -f 1.txt 2.txt >> ./test_outputs/gnu/diff.txt
+diff --forward-ed 1.txt 2.txt >> ./test_outputs/gnu/forward-ed.txt
+diff -f 1.txt 2.txt >> ./test_outputs/gnu/forward-ed.txt
+
+# --help
+diff --help 1.txt 2.txt >> ./test_outputs/gnu/help.txt
 
 #
 # Run BSD diff with various options, direct output to a file.
@@ -66,21 +69,23 @@
 ./diff -u --normal 1.txt 2.txt >> ./test_outputs/bsd/normal.txt
 
 # --brief
-./diff -b 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
-./diff --brief 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
+./diff -b 1.txt 2.txt >> ./test_outputs/bsd/brief.txt
+./diff --brief 1.txt 2.txt >> ./test_outputs/bsd/brief.txt
 
 # --ed 
-./diff -ed 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
-./diff -e 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
+./diff -ed 1.txt 2.txt >> ./test_outputs/bsd/ed.txt
+./diff -e 1.txt 2.txt >> ./test_outputs/bsd/ed.txt
 
 # --expand-tabs
-./diff --expand-tabs 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
-./diff -t 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
+./diff --expand-tabs 1.txt 2.txt >> ./test_outputs/bsd/expand-tabs.txt
+./diff -t 1.txt 2.txt >> ./test_outputs/bsd/expand-tabs.txt
 
 # --forward-ed
-./diff --forward-ed 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
-./diff -f 1.txt 2.txt >> ./test_outputs/bsd/diff.txt
+./diff --forward-ed 1.txt 2.txt >> ./test_outputs/bsd/foward-ed.txt
+./diff -f 1.txt 2.txt >> ./test_outputs/bsd/forward-ed.txt
 
+# --help
+diff --help 1.txt 2.txt >> ./test_outputs/bsd/help.txt
 #
 # Get the diff between the GNU and BSD outputs.
 #


More information about the svn-soc-all mailing list