aboutsummaryrefslogtreecommitdiff
path: root/test_pbuilder-checkparams
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-27 10:54:53 +0100
committerLoïc Minier <lool@dooz.org>2009-12-27 10:54:53 +0100
commit808e095b9a1354092cab018fb7240bd1f9f8d33f (patch)
tree3810667724d2885a5317740d76f2cc6569985bb7 /test_pbuilder-checkparams
parent2f5feae51c957e572aff7b6583cca33c4ab7c74f (diff)
downloadpbuilder-808e095b9a1354092cab018fb7240bd1f9f8d33f.tar
pbuilder-808e095b9a1354092cab018fb7240bd1f9f8d33f.tar.gz
test_debuildopts: use relocated pbuilder; #562681
Use a relocated pbuilder setup to run test_debuildopts; closes: #562681.
Diffstat (limited to 'test_pbuilder-checkparams')
-rwxr-xr-xtest_pbuilder-checkparams7
1 files changed, 6 insertions, 1 deletions
diff --git a/test_pbuilder-checkparams b/test_pbuilder-checkparams
index 17392d4..d26dd66 100755
--- a/test_pbuilder-checkparams
+++ b/test_pbuilder-checkparams
@@ -7,9 +7,14 @@
test_debuildopts() {
# stderr is redirected to /dev/null to avoid failing if ~/.pbuilderrc is
# missing (this outputs a warning which is not expected in the output)
- . ./pbuilder-checkparams 2>/dev/null
+ . ./pbuilder-checkparams
echo "$DEBBUILDOPTS"
}
+
+# setup a fake installed environment
+trap testlib_cleanup_env sigpipe sighup exit
+testlib_setup_env
+
expect_output "" \
test_debuildopts foo.dsc
expect_output "" \