[Reproducible-commits] [strip-nondeterminism] 02/04: javaproperties.t: test bundleplugin is stripped
Chris West
faux-guest at moszumanska.debian.org
Sun Aug 16 19:34:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository strip-nondeterminism.
commit 1d3d915a131fb71a59cee8098234d80c975751c9
Author: Chris West (Faux) <git at goeswhere.com>
Date: Sun Aug 16 20:08:27 2015 +0100
javaproperties.t: test bundleplugin is stripped
---
t/javaproperties.t | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/t/javaproperties.t b/t/javaproperties.t
index 97d4bc2..9f17403 100644
--- a/t/javaproperties.t
+++ b/t/javaproperties.t
@@ -21,7 +21,7 @@
#
use File::Temp 'tempdir';
-use Test::More tests => 4;
+use Test::More tests => 6;
use File::StripNondeterminism;
use strict;
use warnings;
@@ -85,3 +85,28 @@ is(do { local $/; <$fh> }, <<'EXPECTED');
build.number=125
EXPECTED
close($fh);
+
+#
+# felix bundle pom.properties
+#
+
+$path = "$dir/pom.properties";
+open($fh, '>', $path) or die("error opening $path");
+
+print $fh <<'ORIGINAL';
+#Generated by org.apache.felix.bundleplugin
+#Mon Aug 10 07:12:44 GMT-12:00 2015
+version=1.5
+ORIGINAL
+close($fh);
+
+normalise($path);
+
+open($fh, '<', $path) or die("error opening $path");
+is(do { local $/; <$fh> }, <<'EXPECTED');
+#Generated by org.apache.felix.bundleplugin
+version=1.5
+EXPECTED
+close($fh);
+
+
--
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