From 0108884952415b4e7c5fe93a1422f441f4bea0aa Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 21 Dec 2014 15:48:57 +0100 Subject: test makepkg-template: Add update-version-with-newest-option Signed-off-by: Florian Pritz --- .../templates/perl-bla-1.2.template | 1 + .../templates/perl-module-1.0.template | 6 ++++++ .../templates/perl-module-1.1.template | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-bla-1.2.template create mode 100644 test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.0.template create mode 100644 test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.1.template (limited to 'test/scripts/makepkg-template-tests/update-version-with-newest-option/templates') diff --git a/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-bla-1.2.template b/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-bla-1.2.template new file mode 100644 index 00000000..b72e7d48 --- /dev/null +++ b/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-bla-1.2.template @@ -0,0 +1 @@ +bla bla diff --git a/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.0.template b/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.0.template new file mode 100644 index 00000000..415025ac --- /dev/null +++ b/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.0.template @@ -0,0 +1,6 @@ +echo "before bla template" +# template input; name=perl-bla +echo "after bla template" +perl Makefile.pl +make +make install diff --git a/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.1.template b/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.1.template new file mode 100644 index 00000000..5ad32c3c --- /dev/null +++ b/test/scripts/makepkg-template-tests/update-version-with-newest-option/templates/perl-module-1.1.template @@ -0,0 +1,7 @@ +echo "perl-module version 1.1" +echo "before bla template" +# template input; name=perl-bla +echo "after bla template" +perl Makefile.pl +make +make install -- cgit v1.2.3-70-g09d2