From owner-svn-soc-all@FreeBSD.ORG Tue Jun 18 10:22:44 2013 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 56AC49CC for ; Tue, 18 Jun 2013 10:22:44 +0000 (UTC) (envelope-from dpl@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::16:124]) by mx1.freebsd.org (Postfix) with ESMTP id 484291DE7 for ; Tue, 18 Jun 2013 10:22:44 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5IAMiof091858 for ; Tue, 18 Jun 2013 10:22:44 GMT (envelope-from dpl@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.7/8.14.6/Submit) id r5IAMihi091856 for svn-soc-all@FreeBSD.org; Tue, 18 Jun 2013 10:22:44 GMT (envelope-from dpl@FreeBSD.org) Date: Tue, 18 Jun 2013 10:22:44 GMT Message-Id: <201306181022.r5IAMihi091856@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to dpl@FreeBSD.org using -f From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r253172 - soc2013/dpl/head/usr.bin/bzip2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 10:22:44 -0000 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