summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/lib b/tests/lib
index 616725d..d7cf396 100644
--- a/tests/lib
+++ b/tests/lib
@@ -782,16 +782,21 @@ t-splitbrain-pushed-good-end-made-dep14 () {
cd $tmp/$p
}
-t-splitbrain-rm-gitignore-patch () {
+t-splitbrain-rm-1-patch () {
+ local patchname=$1
perl -i -pe '
- next unless $_ eq "auto-gitignore\n";
+ next unless $_ eq "'"$patchname"'\n";
die if $counter++;
chomp;
- rename "debian/patches/$_", "../t-auto-gitignore" or die $!;
+ rename "debian/patches/$_", "../t-'"$patchname"'" or die $!;
$_ = "";
' debian/patches/series
}
+t-splitbrain-rm-gitignore-patch () {
+ t-splitbrain-rm-1-patch auto-gitignore
+}
+
t-gbp-pushed-good () {
local suite=${1:-sid}
t-splitbrain-pushed-good-start