[strip-nondeterminism] 02/02: cpio: add test case

Chris Lamb chris at chris-lamb.co.uk
Tue Jul 11 18:42:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch experimental
in repository strip-nondeterminism.

commit 502975654c6c988bacfb5124aa660229a4f499e7
Author: Bernhard M. Wiedemann <bwiedemann at suse.de>
Date:   Sat May 6 07:14:10 2017 +0000

    cpio: add test case
---
 Makefile.PL                   |   1 +
 t/fixtures/cpio/test.cpio.in  | Bin 0 -> 512 bytes
 t/fixtures/cpio/test.cpio.out | Bin 0 -> 512 bytes
 3 files changed, 1 insertion(+)

diff --git a/Makefile.PL b/Makefile.PL
index 5780327..7439df1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -14,6 +14,7 @@ WriteMakefile(
 	ABSTRACT	=> 'tool for stripping nondeterminism from files',
 	EXE_FILES	=> [qw(bin/dh_strip_nondeterminism bin/strip-nondeterminism)],
 	PREREQ_PM => {
+		'Archive::Cpio'	=> 0, # required to pass tests
 		'Archive::Zip'	=> 0,
 		'Getopt::Long'	=> 0,
 	},
diff --git a/t/fixtures/cpio/test.cpio.in b/t/fixtures/cpio/test.cpio.in
new file mode 100644
index 0000000..ae59928
Binary files /dev/null and b/t/fixtures/cpio/test.cpio.in differ
diff --git a/t/fixtures/cpio/test.cpio.out b/t/fixtures/cpio/test.cpio.out
new file mode 100644
index 0000000..41a10d3
Binary files /dev/null and b/t/fixtures/cpio/test.cpio.out differ

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git



More information about the Reproducible-commits mailing list