chiark / gitweb /
git-debrebase: test suite: gdr-subcommands: honour new $xopts
[dgit.git] / tests / tests / drs-push-masterupdate
index 9d2e6320705c30326fcae1ac79d2584a22239f8d..8457b59db43207d1eb08162f1d4b23e7cc89657b 100755 (executable)
@@ -30,7 +30,7 @@ push_and_check () {
 }
 
 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
 }
 
@@ -47,4 +47,4 @@ git commit --allow-empty -m 'Has no common ancestor'
 
 push_and_check +HEAD:master
 
-echo done.
+t-ok