From: David Kågedal Date: Fri, 14 Sep 2007 22:36:47 GMT Subject: Re: [StGit PATCH 03/13] Moved that status function to the status command file Message-ID: <877imsdgcg.fsf@morpheus.local> In-Reply-To: <20070914223124.7001.29374.stgit@morpheus.local> David Kågedal writes: > diff --git a/t/t0002-status.sh b/t/t0002-status.sh > index 790b9fb..d0c31b2 100755 > --- a/t/t0002-status.sh > +++ b/t/t0002-status.sh > @@ -60,6 +60,14 @@ test_expect_success 'Status with an added file' ' > ' > > cat > expected.txt < +foo/bar > +EOF > +test_expect_success 'Status with an added file and -n option' ' > + stg status -n > output.txt && > + diff -u expected.txt output.txt > +' > + > +cat > expected.txt < EOF > test_expect_success 'Status after refresh' ' > stg new -m "first patch" && > Oops, that should have been in the first patch. -- David Kågedal