aboutsummaryrefslogtreecommitdiff
path: root/t/LO
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-31 00:41:21 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-31 00:41:21 +0200
commitdd1d30cfe657e86d6281ecb24b11cbe6833fe95b (patch)
tree868b8e09b82f61f569f0d718f5570317d87848eb /t/LO
parenta0ec8a486ce7b6dbf1622c3aa4555e5ede1be1d3 (diff)
downloadsbotools2-dd1d30cfe657e86d6281ecb24b11cbe6833fe95b.tar.xz
13-local-check.t: test length of sbocheck output with long sbo names
Diffstat (limited to 't/LO')
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylo/README1
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild15
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info10
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylon/README1
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild15
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info10
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylong/README1
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild15
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info10
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/README1
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild15
-rw-r--r--t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info10
-rw-r--r--t/LO/s/README1
-rw-r--r--t/LO/s/s.SlackBuild15
-rw-r--r--t/LO/s/s.info10
15 files changed, 130 insertions, 0 deletions
diff --git a/t/LO/nonexistentslackbuildwithareallyverylo/README b/t/LO/nonexistentslackbuildwithareallyverylo/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylo/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild b/t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild
new file mode 100644
index 0000000..6324143
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuildwithareallyverylo"
+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/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info b/t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info
new file mode 100644
index 0000000..f6127c7
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuildwithareallyverylo"
+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=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"
diff --git a/t/LO/nonexistentslackbuildwithareallyverylon/README b/t/LO/nonexistentslackbuildwithareallyverylon/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylon/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild b/t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild
new file mode 100644
index 0000000..4d43dee
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuildwithareallyverylon"
+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/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info b/t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info
new file mode 100644
index 0000000..cff5562
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuildwithareallyverylon"
+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=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"
diff --git a/t/LO/nonexistentslackbuildwithareallyverylong/README b/t/LO/nonexistentslackbuildwithareallyverylong/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylong/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild b/t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild
new file mode 100644
index 0000000..1836df2
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuildwithareallyverylong"
+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/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info b/t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info
new file mode 100644
index 0000000..a1a0a18
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuildwithareallyverylong"
+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=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"
diff --git a/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/README b/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild b/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild
new file mode 100644
index 0000000..efdd0ab
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="nonexistentslackbuildwithareallyverylongnameasyoucansee"
+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/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info b/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info
new file mode 100644
index 0000000..22617ed
--- /dev/null
+++ b/t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info
@@ -0,0 +1,10 @@
+PRGNAM="nonexistentslackbuildwithareallyverylongnameasyoucansee"
+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=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"
diff --git a/t/LO/s/README b/t/LO/s/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO/s/README
@@ -0,0 +1 @@
+This doesn't exist!
diff --git a/t/LO/s/s.SlackBuild b/t/LO/s/s.SlackBuild
new file mode 100644
index 0000000..c8cade7
--- /dev/null
+++ b/t/LO/s/s.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="s"
+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/s/s.info b/t/LO/s/s.info
new file mode 100644
index 0000000..da4649d
--- /dev/null
+++ b/t/LO/s/s.info
@@ -0,0 +1,10 @@
+PRGNAM="s"
+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=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"