aboutsummaryrefslogtreecommitdiff
path: root/t/LO
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-02 15:38:02 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-02 15:38:02 +0200
commita669651233bf2dd55b969756dff65b7f7fbfdf8f (patch)
tree4ed6574b9e9df52b024ac44624b1cbe22d882012 /t/LO
parent6b9e7d5c957832d280719128e7067472ece9c41e (diff)
downloadsbotools2-a669651233bf2dd55b969756dff65b7f7fbfdf8f.tar.xz
06-remove.t: add tests for still needed sbos
Diffstat (limited to 't/LO')
-rw-r--r--t/LO/nonexistentslackbuild7/README1
-rw-r--r--t/LO/nonexistentslackbuild7/nonexistentslackbuild7.SlackBuild15
-rw-r--r--t/LO/nonexistentslackbuild7/nonexistentslackbuild7.info10
3 files changed, 26 insertions, 0 deletions
diff --git a/t/LO/nonexistentslackbuild7/README b/t/LO/nonexistentslackbuild7/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/nonexistentslackbuild7/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/nonexistentslackbuild7/nonexistentslackbuild7.SlackBuild b/t/LO/nonexistentslackbuild7/nonexistentslackbuild7.SlackBuild
new file mode 100644
index 0000000..296956f
--- /dev/null
+++ b/t/LO/nonexistentslackbuild7/nonexistentslackbuild7.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuild7"
+VERSION=${VERSION:-1.0}
+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/LO/nonexistentslackbuild7/nonexistentslackbuild7.info b/t/LO/nonexistentslackbuild7/nonexistentslackbuild7.info
new file mode 100644
index 0000000..e0ae048
--- /dev/null
+++ b/t/LO/nonexistentslackbuild7/nonexistentslackbuild7.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuild7"
+VERSION="1.0"
+HOMEPAGE="http://www.example.com"
+DOWNLOAD="http://pink-mist.github.io/sbotools/testing/perf.dummy"
+MD5SUM="9cba6c70fb57a22a155073d54748b614"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="nonexistentslackbuild5"
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"