X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/069a1e9574171e5070c0ea9c7055bf985e08a64a..121c14e552a2ba679e06842ca43bf00aa147755f:/t/t3104-redo.sh?ds=sidebyside diff --git a/t/t3104-redo.sh b/t/t3104-redo.sh new file mode 100755 index 0000000..030311d --- /dev/null +++ b/t/t3104-redo.sh @@ -0,0 +1,114 @@ +#!/bin/sh + +test_description='Simple test cases for "stg redo"' + +. ./test-lib.sh + +# Ignore our own output files. +cat > .git/info/exclude <> a && + git add a && + git commit -m a && + echo 111 >> a && + git commit -a -m p1 && + echo 222 >> a && + git commit -a -m p2 && + echo 333 >> a && + git commit -a -m p3 && + stg uncommit -n 3 +' + +cat > expected.txt < expected.txt < expected.txt < expected.txt < expected.txt < expected.txt < expected.txt < expected.txt <