From dd1d30cfe657e86d6281ecb24b11cbe6833fe95b Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 31 May 2016 00:41:21 +0200 Subject: 13-local-check.t: test length of sbocheck output with long sbo names --- t/LO/nonexistentslackbuildwithareallyverylo/README | 1 + .../nonexistentslackbuildwithareallyverylo.SlackBuild | 15 +++++++++++++++ .../nonexistentslackbuildwithareallyverylo.info | 10 ++++++++++ t/LO/nonexistentslackbuildwithareallyverylon/README | 1 + .../nonexistentslackbuildwithareallyverylon.SlackBuild | 15 +++++++++++++++ .../nonexistentslackbuildwithareallyverylon.info | 10 ++++++++++ t/LO/nonexistentslackbuildwithareallyverylong/README | 1 + .../nonexistentslackbuildwithareallyverylong.SlackBuild | 15 +++++++++++++++ .../nonexistentslackbuildwithareallyverylong.info | 10 ++++++++++ .../README | 1 + ...lackbuildwithareallyverylongnameasyoucansee.SlackBuild | 15 +++++++++++++++ ...stentslackbuildwithareallyverylongnameasyoucansee.info | 10 ++++++++++ t/LO/s/README | 1 + t/LO/s/s.SlackBuild | 15 +++++++++++++++ t/LO/s/s.info | 10 ++++++++++ 15 files changed, 130 insertions(+) create mode 100644 t/LO/nonexistentslackbuildwithareallyverylo/README create mode 100644 t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild create mode 100644 t/LO/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info create mode 100644 t/LO/nonexistentslackbuildwithareallyverylon/README create mode 100644 t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild create mode 100644 t/LO/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info create mode 100644 t/LO/nonexistentslackbuildwithareallyverylong/README create mode 100644 t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild create mode 100644 t/LO/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info create mode 100644 t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/README create mode 100644 t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild create mode 100644 t/LO/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info create mode 100644 t/LO/s/README create mode 100644 t/LO/s/s.SlackBuild create mode 100644 t/LO/s/s.info (limited to 't/LO') 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" -- cgit v1.2.3