chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-debrebase: test suite: gdr-diverge-nmu: complete
[dgit.git]
/
tests
/
tests
/
dpkgsourceignores-docs
diff --git
a/tests/tests/dpkgsourceignores-docs
b/tests/tests/dpkgsourceignores-docs
index 397b7834e5fa10651986f7d01917b406aaa4e94e..a71e7f97e3701783ef90734c0e4b27afb2d76a53 100755
(executable)
--- a/
tests/tests/dpkgsourceignores-docs
+++ b/
tests/tests/dpkgsourceignores-docs
@@
-2,7
+2,7
@@
set -e
. tests/lib
set -e
. tests/lib
-t-restrict
ion-
x-dgit-intree-only
+t-restrict
x-dgit-intree-only
# we need the .pod source, which is not shipped
cd $tmp
# we need the .pod source, which is not shipped
cd $tmp
@@
-40,18
+40,12
@@
chmod +x doc.sh
: ----- extract args from dgit -----
: ----- extract args from dgit -----
-perl -ne '
- next unless m/^\s*our\s+\@dpkg_source_ignores\s*=/;
- print;
-' $root/dgit >dgit.pl
+args=$( t-dgit print-dpkg-source-ignores )
-cat >>dgit.pl <<'END'
- foreach my $arg (@dpkg_source_ignores) {
- print $arg, "\n" or die $!;
- }
-END
-
-perl dgit.pl >dgit.args
+>dgit.args
+for arg in $args; do
+ printf >>dgit.args "%s\n" "$arg"
+done
: ----- compare -----
: ----- compare -----