socsvn commit: r253172 - soc2013/dpl/head/usr.bin/bzip2

dpl at FreeBSD.org dpl at FreeBSD.org
Tue Jun 18 10:22:44 UTC 2013


Author: dpl
Date: Tue Jun 18 10:22:44 2013
New Revision: 253172
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=253172

Log:
  Check working with multiple files.
  

Modified:
  soc2013/dpl/head/usr.bin/bzip2/Makefile

Modified: soc2013/dpl/head/usr.bin/bzip2/Makefile
==============================================================================
--- soc2013/dpl/head/usr.bin/bzip2/Makefile	Tue Jun 18 09:54:09 2013	(r253171)
+++ soc2013/dpl/head/usr.bin/bzip2/Makefile	Tue Jun 18 10:22:44 2013	(r253172)
@@ -21,7 +21,8 @@
 
 CLEANFILES+=	${TESTFILES} \
 		sample1.rb2 sample2.rb2 sample3.rb2 \
-		sample1.tst sample2.tst sample3.tst
+		sample1.tst sample2.tst sample3.tst \
+		total total.tst samples.rb2
 
 .for f in ${REFFILES}
 ${f}:	${f}.gz.uu
@@ -40,6 +41,12 @@
 	./bzip2 -d  < sample1.bz2 > sample1.tst
 	./bzip2 -d  < sample2.bz2 > sample2.tst
 	./bzip2 -ds < sample3.bz2 > sample3.tst
+	./bzip2 -c sample1.ref sample2.ref sample3.ref > samples.rb2
+	./bzip2 -ds < samples.rb2 > total.tst
+	cat sample1.ref >> total
+	cat sample2.ref >> total
+	cat sample3.ref >> total
+	cmp total total.tst 
 	cmp sample1.bz2 sample1.rb2 
 	cmp sample2.bz2 sample2.rb2
 	cmp sample3.bz2 sample3.rb2


More information about the svn-soc-all mailing list