diff options
Diffstat (limited to 't/LO-readme')
-rw-r--r-- | t/LO-readme/commandinreadme/README | 4 | ||||
-rw-r--r-- | t/LO-readme/commandinreadmespanslines/README | 5 | ||||
-rw-r--r-- | t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.SlackBuild | 20 | ||||
-rw-r--r-- | t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.info | 10 | ||||
-rw-r--r-- | t/LO-readme/otherreadmes/README | 1 | ||||
-rw-r--r-- | t/LO-readme/otherreadmes/README.SBo | 1 | ||||
-rw-r--r-- | t/LO-readme/otherreadmes/README.SLACKWARE | 1 | ||||
-rw-r--r-- | t/LO-readme/otherreadmes/otherreadmes.SlackBuild | 15 | ||||
-rw-r--r-- | t/LO-readme/otherreadmes/otherreadmes.info | 10 |
9 files changed, 65 insertions, 2 deletions
diff --git a/t/LO-readme/commandinreadme/README b/t/LO-readme/commandinreadme/README index 6e51784..db5d140 100644 --- a/t/LO-readme/commandinreadme/README +++ b/t/LO-readme/commandinreadme/README @@ -1,4 +1,4 @@ This doesn't exist! - groupadd -g 200 test - useradd -u 200 -g 200 -d /tmp test + groupadd -g 199 test + useradd -u 199 -g 199 -d /tmp test diff --git a/t/LO-readme/commandinreadmespanslines/README b/t/LO-readme/commandinreadmespanslines/README new file mode 100644 index 0000000..696c2fe --- /dev/null +++ b/t/LO-readme/commandinreadmespanslines/README @@ -0,0 +1,5 @@ +This doesn't exist! + + groupadd -g 199 test + useradd -u 199 -g 199 -d /tmp \ + -s /bin/sh test diff --git a/t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.SlackBuild b/t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.SlackBuild new file mode 100644 index 0000000..0ff4195 --- /dev/null +++ b/t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.SlackBuild @@ -0,0 +1,20 @@ +#!/bin/bash +PRGNAM="commandinreadmespanslines" +VERSION=${VERSION:-1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +TMP=${TMP:-/tmp/SBo} +OUTPUT=${OUTPUT:-/tmp} + +if ! getent passwd "test"; then + echo "test user doesn't exist!" + exit 1 +fi + +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-readme/commandinreadmespanslines/commandinreadmespanslines.info b/t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.info new file mode 100644 index 0000000..e6f71b6 --- /dev/null +++ b/t/LO-readme/commandinreadmespanslines/commandinreadmespanslines.info @@ -0,0 +1,10 @@ +PRGNAM="commandinreadmespanslines" +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-readme/otherreadmes/README b/t/LO-readme/otherreadmes/README new file mode 100644 index 0000000..6d388bb --- /dev/null +++ b/t/LO-readme/otherreadmes/README @@ -0,0 +1 @@ +This doesn't exist! diff --git a/t/LO-readme/otherreadmes/README.SBo b/t/LO-readme/otherreadmes/README.SBo new file mode 100644 index 0000000..7ff669b --- /dev/null +++ b/t/LO-readme/otherreadmes/README.SBo @@ -0,0 +1 @@ +this is the README for SlackBuilds.org diff --git a/t/LO-readme/otherreadmes/README.SLACKWARE b/t/LO-readme/otherreadmes/README.SLACKWARE new file mode 100644 index 0000000..9539839 --- /dev/null +++ b/t/LO-readme/otherreadmes/README.SLACKWARE @@ -0,0 +1 @@ +this is the README for SLACKWARE! diff --git a/t/LO-readme/otherreadmes/otherreadmes.SlackBuild b/t/LO-readme/otherreadmes/otherreadmes.SlackBuild new file mode 100644 index 0000000..4466ded --- /dev/null +++ b/t/LO-readme/otherreadmes/otherreadmes.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="otherreadmes" +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-readme/otherreadmes/otherreadmes.info b/t/LO-readme/otherreadmes/otherreadmes.info new file mode 100644 index 0000000..3dcaf67 --- /dev/null +++ b/t/LO-readme/otherreadmes/otherreadmes.info @@ -0,0 +1,10 @@ +PRGNAM="otherreadmes" +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" |