aboutsummaryrefslogtreecommitdiff
path: root/t/LO
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 15:19:58 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 15:19:58 +0100
commitb29c00408e4d0a77a692522a7b31cad0044d8b24 (patch)
tree6151d0aa8edd480da0d23daa643ea08e55e30893 /t/LO
parent79f4cbf50a27abba9c968d8af563c310e60a22ba (diff)
downloadsbotools2-b29c00408e4d0a77a692522a7b31cad0044d8b24.tar.xz
Add tests for local overrides (sbocheck, install, upgrade); see #19
Diffstat (limited to 't/LO')
-rw-r--r--t/LO/nonexistentslackbuild/README1
-rw-r--r--t/LO/nonexistentslackbuild/nonexistentslackbuild.SlackBuild7
-rw-r--r--t/LO/nonexistentslackbuild/nonexistentslackbuild.info10
3 files changed, 18 insertions, 0 deletions
diff --git a/t/LO/nonexistentslackbuild/README b/t/LO/nonexistentslackbuild/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/nonexistentslackbuild/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/nonexistentslackbuild/nonexistentslackbuild.SlackBuild b/t/LO/nonexistentslackbuild/nonexistentslackbuild.SlackBuild
new file mode 100644
index 0000000..5dbb46b
--- /dev/null
+++ b/t/LO/nonexistentslackbuild/nonexistentslackbuild.SlackBuild
@@ -0,0 +1,7 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuild"
+VERSION=${VERSION:-1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+OUTPUT=${OUTPUT:-/tmp}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.tgz
diff --git a/t/LO/nonexistentslackbuild/nonexistentslackbuild.info b/t/LO/nonexistentslackbuild/nonexistentslackbuild.info
new file mode 100644
index 0000000..eeb0651
--- /dev/null
+++ b/t/LO/nonexistentslackbuild/nonexistentslackbuild.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuild"
+VERSION="1.0"
+HOMEPAGE="http://www.example.com"
+DOWNLOAD="http://www.pastemobile.org/perf.dummy"
+MD5SUM="http://www.pastemobile.org/perf.dummy"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"