X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Frpush;fp=tests%2Ftests%2Frpush;h=c627788f05600ab3d186c6c5bf7345a597e05d7a;hb=5e285bfc964440be1bc5dc3325b84eca7f210f28;hp=0000000000000000000000000000000000000000;hpb=5ee107579037882ae549f35e9bc1b30e0acdb1ab;p=dgit.git diff --git a/tests/tests/rpush b/tests/tests/rpush new file mode 100755 index 00000000..c627788f --- /dev/null +++ b/tests/tests/rpush @@ -0,0 +1,31 @@ +#!/bin/bash +set -e +. tests/lib + +t-archive pari-extra 3-1 +t-git pari-extra 3-1 + +t-dgit clone $p + +cd $p +t-cloned-fetched-good + +v=3-2~dummy1 +t-apply-diff 3-1 $v +debcommit -a + +t-refs-same-start +t-ref-head + +t-dgit --dpkg-buildpackage:-d build + +mkdir $tmp/empty +cd $tmp/empty +#t-dgit --ssh=$troot/ssh rpush somehost:$troot/$p +#echo $? +t-dgit --ssh=$troot/ssh rpush somehost:$tmp/$p + +cd $tmp/$p +t-pushed-good dgit/sid + +echo ok.