chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5fa292
)
test suite: pretend-pbuilder: Reject unknown options
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 5 Jan 2019 20:03:08 +0000
(20:03 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 5 Jan 2019 20:03:08 +0000
(20:03 +0000)
The failure to do this was simply a bug.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/pretend-pbuilder
patch
|
blob
|
history
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,
- 'distribution=s' => \$distribution);
+ 'distribution=s' => \$distribution)
+ or die;
# ignore user args; last argument has to be the .dsc filename
my $dsc = $ARGV[-1];