diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-14 14:46:06 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-14 14:46:06 +0100 |
commit | 5532052d53fd785a3cece61a7dd96daa6009a4e8 (patch) | |
tree | 97f8cd8476478a7e42f667e470cca08b9e0a36cf /test_pbuilder-checkparams | |
parent | 4e301bdc049924f30acc348860198a2609a88d6f (diff) | |
download | pbuilder-5532052d53fd785a3cece61a7dd96daa6009a4e8.tar pbuilder-5532052d53fd785a3cece61a7dd96daa6009a4e8.tar.gz |
Don't fail if ~/.pbuilderrc is missing
Diffstat (limited to 'test_pbuilder-checkparams')
-rwxr-xr-x | test_pbuilder-checkparams | 4 |
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 "" \ |