chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test suite: pretend-pbuilder: Reject unknown options
[dgit.git]
/
tests
/
pretend-pbuilder
diff --git
a/tests/pretend-pbuilder
b/tests/pretend-pbuilder
index 8495a2f74d9b6668919b939e6efcfb27540476a0..1d39eb382ce65e56d8e278653dbce385186df359 100755
(executable)
--- a/
tests/pretend-pbuilder
+++ b/
tests/pretend-pbuilder
@@
-12,7
+12,8
@@
die "pbuilder: you should use me only to build, dgit"
my $debbuildopts = undef;
my $distribution = undef;
GetOptions('debbuildopts=s' => \$debbuildopts,
my $debbuildopts = undef;
my $distribution = undef;
GetOptions('debbuildopts=s' => \$debbuildopts,
- 'distribution=s' => \$distribution);
+ 'distribution=s' => \$distribution)
+ or die;
# ignore user args; last argument has to be the .dsc filename
my $dsc = $ARGV[-1];
# ignore user args; last argument has to be the .dsc filename
my $dsc = $ARGV[-1];