aboutsummaryrefslogtreecommitdiff
path: root/t/LO2
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-02-12 12:30:23 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-02-12 21:46:28 +0100
commitbd182127371245c069785ea5bbfb525bd43b1104 (patch)
treeda69b720088c1bf0d508bf88351b19b8b56c6e7a /t/LO2
parent57b163a09dbdf791d8664c58be7b95d1bda55f97 (diff)
downloadsbotools2-bd182127371245c069785ea5bbfb525bd43b1104.tar.xz
Add tests for upgrading something depending on a slackware package too
Diffstat (limited to 't/LO2')
-rw-r--r--t/LO2/nonexistentslackbuild6/README1
-rw-r--r--t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.SlackBuild15
-rw-r--r--t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.info10
3 files changed, 26 insertions, 0 deletions
diff --git a/t/LO2/nonexistentslackbuild6/README b/t/LO2/nonexistentslackbuild6/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO2/nonexistentslackbuild6/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.SlackBuild b/t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.SlackBuild
new file mode 100644
index 0000000..157d242
--- /dev/null
+++ b/t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuild6"
+VERSION=${VERSION:-1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+TMP=${TMP:-/tmp/SBo}
+OUTPUT=${OUTPUT:-/tmp}
+
+mkdir -p $TMP/$PRGNAM-$VERSION
+cp README $TMP/$PRGNAM-$VERSION
+mkdir -p $OUTPUT/package-$PRGNAM/usr/doc/$PRGNAM-$VERSION
+cp README $OUTPUT/package-$PRGNAM/usr/doc/$PRGNAM-$VERSION
+cd $OUTPUT/package-$PRGNAM
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.tgz
diff --git a/t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.info b/t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.info
new file mode 100644
index 0000000..f5a886b
--- /dev/null
+++ b/t/LO2/nonexistentslackbuild6/nonexistentslackbuild6.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuild6"
+VERSION="1.1"
+HOMEPAGE="http://www.example.com"
+DOWNLOAD="http://www.pastemobile.org/perf.dummy"
+MD5SUM="9cba6c70fb57a22a155073d54748b614"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="aaa_base"
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"