debian/rules should be producing architecture independent packages
[stgit/dwhite.git] / t / t2400-diff.sh
blobfbcefe185834a35fc7591ace20570998c8d0dedd
1 #!/bin/sh
3 test_description='Run "stg diff"'
5 . ./test-lib.sh
7 test_expect_success 'Diff with no StGit data' '
8 stg diff
11 test_expect_success 'Make some local changes' '
12 echo foo >> foo.txt &&
13 git add foo.txt
16 test_expect_success 'Diff with some local changes' '
17 stg diff
20 test_expect_success 'Initialize StGit stuff' '
21 stg init &&
22 stg new foo -m foo
25 test_expect_success 'Diff with some local changes' '
26 stg diff
29 test_expect_success 'Refresh patch' '
30 stg refresh
33 test_expect_success 'Diff with no local changes' '
34 stg diff
37 test_done