summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/tests/import-nonnative7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tests/import-nonnative b/tests/tests/import-nonnative
index 98076f0..d709ab5 100755
--- a/tests/tests/import-nonnative
+++ b/tests/tests/import-nonnative
@@ -4,12 +4,15 @@ set -e
t-tstunt-parsechangelog
-chk () {
+chk1 () {
p=$1
v=$2
t-archive $p $v
+}
+chk2() {
t-git-none
+ rm -rf $p
t-dgit --no-rm-on-error clone $p
# And now we make an update using the same orig tarball, and
@@ -66,6 +69,8 @@ chk () {
cd ..
}
+chk() { chk1 "$@"; chk2; }
+
# 1.0 with diff
chk pari-extra 3-1