socsvn commit: r238812 - soc2012/jhagewood/sdiff

jhagewood at FreeBSD.org jhagewood at FreeBSD.org
Mon Jul 2 15:26:14 UTC 2012


Author: jhagewood
Date: Mon Jul  2 15:26:12 2012
New Revision: 238812
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=238812

Log:

Modified:
  soc2012/jhagewood/sdiff/TODO
  soc2012/jhagewood/sdiff/sdiff-test.sh

Modified: soc2012/jhagewood/sdiff/TODO
==============================================================================
--- soc2012/jhagewood/sdiff/TODO	Mon Jul  2 15:23:00 2012	(r238811)
+++ soc2012/jhagewood/sdiff/TODO	Mon Jul  2 15:26:12 2012	(r238812)
@@ -1,2 +1,2 @@
 Combine diff-spec args and pipe to diff 	INCOMPLETE
-Test script					IN PROGRESS
+Test script					COMPLETE

Modified: soc2012/jhagewood/sdiff/sdiff-test.sh
==============================================================================
--- soc2012/jhagewood/sdiff/sdiff-test.sh	Mon Jul  2 15:23:00 2012	(r238811)
+++ soc2012/jhagewood/sdiff/sdiff-test.sh	Mon Jul  2 15:26:12 2012	(r238812)
@@ -56,6 +56,25 @@
 	
 	# --tabsize
 	$1 --tabsize="6" 1.txt 2.txt >> $2/tabsize.txt
+	
+	# --minimal
+	$1 -d 1.txt 2.txt >> $2/minimal.txt
+	$1 --minimal 1.txt 2.txt >> $2/minimal.txt
+	
+	# --speed-large-files
+	$1 -H 1.txt 2.txt >> $2/speedlrgfiles.txt
+	$1 --speed-large-files 1.txt 2.txt >> $2/speedlrgfiles.txt
+	
+	# --diff-program
+	$1 --diff-program="usr/bin/diff" 1.txt 2.txt >> $2/diffprog.txt
+	
+	# --output
+	$1 -o $2/output.txt 1.txt 2.txt 
+	$1 --output=$2/output.txt 1.txt 2.txt 
+
+	# --ignore-matching-lines
+	$1 -I "test" 1.txt 2.txt >> $2/ignrmatchinglines.txt
+	$1 --ignore-matching-lines="test" 1.txt 2.txt >> $2/ignrmatchinglines.txt
 }
 
 DIR_PATH="./test_outputs/gnu"


More information about the svn-soc-all mailing list