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:
84026ae
)
Test suite: Prepare for pipefail in t-apply-diff
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jun 2015 12:42:50 +0000
(13:42 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jun 2015 12:45:48 +0000
(13:45 +0100)
tests/lib
patch
|
blob
|
history
diff --git
a/tests/lib
b/tests/lib
index 0ae9bbc281374fc4b1f23b92aa54f3799e48b712..e960c1c62c33f60c76a27f83cd212aac0b8fcc2a 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-370,8
+370,9
@@
t-ref-dsc-dgit () {
t-apply-diff () {
local v1=$1
local v2=$2
t-apply-diff () {
local v1=$1
local v2=$2
- (cd $troot/pkg-srcs; debdiff ${p}_${v1}.dsc ${p}_${v2}.dsc) \
- | patch -p1 -u
+ (cd $troot/pkg-srcs;
+ debdiff ${p}_${v1}.dsc ${p}_${v2}.dsc || test $? = 1) \
+ | patch -p1 -u
}
t-commit () {
}
t-commit () {