diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-31 00:41:21 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-31 00:41:21 +0200 |
commit | dd1d30cfe657e86d6281ecb24b11cbe6833fe95b (patch) | |
tree | 868b8e09b82f61f569f0d718f5570317d87848eb /t/LO2 | |
parent | a0ec8a486ce7b6dbf1622c3aa4555e5ede1be1d3 (diff) | |
download | sbotools2-dd1d30cfe657e86d6281ecb24b11cbe6833fe95b.tar.xz |
13-local-check.t: test length of sbocheck output with long sbo names
Diffstat (limited to 't/LO2')
15 files changed, 130 insertions, 0 deletions
diff --git a/t/LO2/nonexistentslackbuildwithareallyverylo/README b/t/LO2/nonexistentslackbuildwithareallyverylo/README new file mode 100644 index 0000000..6d388bb --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylo/README @@ -0,0 +1 @@ +This doesn't exist! diff --git a/t/LO2/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild b/t/LO2/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild new file mode 100644 index 0000000..34fcabe --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="nonexistentslackbuildwithareallyverylo" +VERSION=${VERSION:-1.1} +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/LO2/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info b/t/LO2/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info new file mode 100644 index 0000000..8536d33 --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylo/nonexistentslackbuildwithareallyverylo.info @@ -0,0 +1,10 @@ +PRGNAM="nonexistentslackbuildwithareallyverylo" +VERSION="1.1" +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/LO2/nonexistentslackbuildwithareallyverylon/README b/t/LO2/nonexistentslackbuildwithareallyverylon/README new file mode 100644 index 0000000..6d388bb --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylon/README @@ -0,0 +1 @@ +This doesn't exist! diff --git a/t/LO2/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild b/t/LO2/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild new file mode 100644 index 0000000..0359d87 --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="nonexistentslackbuildwithareallyverylon" +VERSION=${VERSION:-1.1} +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/LO2/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info b/t/LO2/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info new file mode 100644 index 0000000..76bf896 --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylon/nonexistentslackbuildwithareallyverylon.info @@ -0,0 +1,10 @@ +PRGNAM="nonexistentslackbuildwithareallyverylon" +VERSION="1.1" +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/LO2/nonexistentslackbuildwithareallyverylong/README b/t/LO2/nonexistentslackbuildwithareallyverylong/README new file mode 100644 index 0000000..6d388bb --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylong/README @@ -0,0 +1 @@ +This doesn't exist! diff --git a/t/LO2/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild b/t/LO2/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild new file mode 100644 index 0000000..b9ad16d --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="nonexistentslackbuildwithareallyverylong" +VERSION=${VERSION:-1.1} +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/LO2/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info b/t/LO2/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info new file mode 100644 index 0000000..88924b3 --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylong/nonexistentslackbuildwithareallyverylong.info @@ -0,0 +1,10 @@ +PRGNAM="nonexistentslackbuildwithareallyverylong" +VERSION="1.1" +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/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/README b/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/README new file mode 100644 index 0000000..6d388bb --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/README @@ -0,0 +1 @@ +This doesn't exist! diff --git a/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild b/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild new file mode 100644 index 0000000..ffecd24 --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="nonexistentslackbuildwithareallyverylongnameasyoucansee" +VERSION=${VERSION:-1.1} +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/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info b/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info new file mode 100644 index 0000000..9af1aae --- /dev/null +++ b/t/LO2/nonexistentslackbuildwithareallyverylongnameasyoucansee/nonexistentslackbuildwithareallyverylongnameasyoucansee.info @@ -0,0 +1,10 @@ +PRGNAM="nonexistentslackbuildwithareallyverylongnameasyoucansee" +VERSION="1.1" +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/LO2/s/README b/t/LO2/s/README new file mode 100644 index 0000000..6d388bb --- /dev/null +++ b/t/LO2/s/README @@ -0,0 +1 @@ +This doesn't exist! diff --git a/t/LO2/s/s.SlackBuild b/t/LO2/s/s.SlackBuild new file mode 100644 index 0000000..3831fe6 --- /dev/null +++ b/t/LO2/s/s.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="s" +VERSION=${VERSION:-1.1} +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/LO2/s/s.info b/t/LO2/s/s.info new file mode 100644 index 0000000..7113ac8 --- /dev/null +++ b/t/LO2/s/s.info @@ -0,0 +1,10 @@ +PRGNAM="s" +VERSION="1.1" +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" |