diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-07 13:42:50 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-07 13:45:48 +0100 |
commit | d05936fa35e8fccc8b9eead88379fcdaa2021277 (patch) | |
tree | 90293ff06e0231eb50faf996e18b538c751f6148 /tests | |
parent | 84026aec1f98aaeb69a751c89a25c55b355c7ee8 (diff) |
Test suite: Prepare for pipefail in t-apply-diff
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -370,8 +370,9 @@ t-ref-dsc-dgit () { 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 () { |