From: David Kågedal Date: Fri, 14 Sep 2007 22:31:14 +0000 (+0200) Subject: Add some more tests of "stg status" output X-Git-Tag: v0.14~80 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/98d8dc86e5559fd183c8240d59794a94e2ae67d3 Add some more tests of "stg status" output Signed-off-by: David Kågedal Signed-off-by: Karl Hasselström --- diff --git a/t/t0002-status.sh b/t/t0002-status.sh index ce3b688..d0c31b2 100755 --- a/t/t0002-status.sh +++ b/t/t0002-status.sh @@ -59,6 +59,14 @@ test_expect_success 'Status with an added file' ' diff -u expected.txt output.txt ' +cat > expected.txt < output.txt && + diff -u expected.txt output.txt +' + cat > expected.txt < fie && + stg add fie && + stg refresh +' + test_expect_success 'Make a conflicting patch' ' stg pop && stg new -m "third patch" && @@ -104,6 +118,28 @@ test_expect_success 'Status after conflicting push' ' diff -u expected.txt output.txt ' +cat > expected.txt < output.txt && + diff -u expected.txt output.txt +' + +cat > expected.txt < output.txt && + diff -u expected.txt output.txt +' + +cat > expected.txt < output.txt && + diff -u expected.txt output.txt +' + cat > expected.txt <