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: Test dput-ng compatibility.
[dgit.git]
/
tests
/
tests
/
drs-push-masterupdate
diff --git
a/tests/tests/drs-push-masterupdate
b/tests/tests/drs-push-masterupdate
index 9d2e6320705c30326fcae1ac79d2584a22239f8d..8457b59db43207d1eb08162f1d4b23e7cc89657b 100755
(executable)
--- a/
tests/tests/drs-push-masterupdate
+++ b/
tests/tests/drs-push-masterupdate
@@
-30,7
+30,7
@@
push_and_check () {
}
t-check-master-undisturbed () {
}
t-check-master-undisturbed () {
- local master=`t-git-get-ref refs/heads/master`
+ local master
; master
=`t-git-get-ref refs/heads/master`
if [ x$master != x$oldmaster ]; then fail "bad update to master"; fi
}
if [ x$master != x$oldmaster ]; then fail "bad update to master"; fi
}
@@
-47,4
+47,4
@@
git commit --allow-empty -m 'Has no common ancestor'
push_and_check +HEAD:master
push_and_check +HEAD:master
-echo done.
+t-ok