Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 10:22:44 GMT
From:      dpl@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r253172 - soc2013/dpl/head/usr.bin/bzip2
Message-ID:  <201306181022.r5IAMihi091856@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306181022.r5IAMihi091856>