chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test suite: import-nonnative: Prepare for more tests
[dgit.git]
/
tests
/
tests
/
import-nonnative
diff --git
a/tests/tests/import-nonnative
b/tests/tests/import-nonnative
index 98076f066d7ea44fdff11b7c01b64a766c032f24..d709ab594b353cacd22095bc56638c9f70fd6b6e 100755
(executable)
--- a/
tests/tests/import-nonnative
+++ b/
tests/tests/import-nonnative
@@
-4,12
+4,15
@@
set -e
t-tstunt-parsechangelog
t-tstunt-parsechangelog
-chk () {
+chk
1
() {
p=$1
v=$2
t-archive $p $v
p=$1
v=$2
t-archive $p $v
+}
+chk2() {
t-git-none
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
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 ..
}
cd ..
}
+chk() { chk1 "$@"; chk2; }
+
# 1.0 with diff
chk pari-extra 3-1
# 1.0 with diff
chk pari-extra 3-1