diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-13 10:26:06 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-13 10:26:06 +0000 |
commit | 72075b8430b826d7dd489765c1004e4161479fa2 (patch) | |
tree | 682a8d69bcc478082f1805859eb72445e8b6cf42 /test_pbuilder-checkparams | |
parent | 524cde2e544f40dc2056d2a4c4265ddc4160784d (diff) | |
download | pbuilder-72075b8430b826d7dd489765c1004e4161479fa2.tar pbuilder-72075b8430b826d7dd489765c1004e4161479fa2.tar.gz |
move all tests under a t/ directory
Diffstat (limited to 'test_pbuilder-checkparams')
-rwxr-xr-x | test_pbuilder-checkparams | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test_pbuilder-checkparams b/test_pbuilder-checkparams deleted file mode 100755 index cc1af9e..0000000 --- a/test_pbuilder-checkparams +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -# testsuite for pbuilder-checkparams - -if [ -n "$PBUILDER_CHECKOUT" ]; then - . "$PBUILDER_CHECKOUT/testlib.sh" -else - # these currently don't need to be exported - PBUILDER_TEST_ROOT="${PBUILDER_ROOT:-}" - PBUILDER_TEST_PKGLIBDIR="${PBUILDER_PKGLIBDIR:-$PBUILDER_ROOT/usr/lib/pbuilder}" - . "$PBUILDER_TEST_PKGLIBDIR/testlib.sh" -fi - -# setup a fake installed environment -trap testlib_cleanup_env sigpipe sighup exit -testlib_setup_env - -if [ -n "$PBUILDER_CHECKOUT" ]; then - PBUILDER_CHECKPARAMS="$PBUILDER_CHECKOUT/pbuilder-checkparams" -else - export PBUILDER_PKGLIBDIR="${PBUILDER_PKGLIBDIR:-$PBUILDER_ROOT/usr/lib/pbuilder}" - PBUILDER_CHECKPARAMS="$PBUILDER_PKGLIBDIR/pbuilder-checkparams" -fi - -test_debuildopts() { - . "$PBUILDER_CHECKPARAMS" - echo "$DEBBUILDOPTS" -} - -expect_output "" \ - test_debuildopts foo.dsc -expect_output "" \ - test_debuildopts --debbuildopts "" foo.dsc -expect_output "-v1.0 -efoo" \ - test_debuildopts --debbuildopts "-v1.0 -efoo" foo.dsc -expect_output "-v1.0 -efoo" \ - test_debuildopts --debbuildopts -v1.0 --debbuildopts -efoo foo.dsc -expect_output "-efoo" \ - test_debuildopts --debbuildopts -v1.0 --debbuildopts "" --debbuildopts -efoo foo.dsc - -testlib_summary |