aboutsummaryrefslogtreecommitdiff
path: root/test_pbuilder-checkparams
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-14 14:46:06 +0100
committerLoïc Minier <lool@dooz.org>2009-12-14 14:46:06 +0100
commit5532052d53fd785a3cece61a7dd96daa6009a4e8 (patch)
tree97f8cd8476478a7e42f667e470cca08b9e0a36cf /test_pbuilder-checkparams
parent4e301bdc049924f30acc348860198a2609a88d6f (diff)
downloadpbuilder-5532052d53fd785a3cece61a7dd96daa6009a4e8.tar
pbuilder-5532052d53fd785a3cece61a7dd96daa6009a4e8.tar.gz
Don't fail if ~/.pbuilderrc is missing
Diffstat (limited to 'test_pbuilder-checkparams')
-rwxr-xr-xtest_pbuilder-checkparams4
1 files changed, 3 insertions, 1 deletions
diff --git a/test_pbuilder-checkparams b/test_pbuilder-checkparams
index 32c6975..e514645 100755
--- a/test_pbuilder-checkparams
+++ b/test_pbuilder-checkparams
@@ -5,7 +5,9 @@
# testsuite for pbuilder-checkparams
test_debuildopts() {
- . ./pbuilder-checkparams
+ # 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
echo "$DEBBUILDOPTS"
}
expect_output "" \