debian/rules should be producing architecture independent packages
[stgit/dwhite.git] / t / t1501-sink.sh
blob32931cde72d4fe5cf80f904e942c6c7e029d3fcb
1 #!/bin/sh
3 test_description='Test "stg sink"'
5 . ./test-lib.sh
7 test_expect_success 'Initialize StGit stack' '
8 echo 000 >> x &&
9 git add x &&
10 git commit -m initial &&
11 echo 000 >> y &&
12 git add y &&
13 git commit -m y &&
14 stg init &&
15 stg uncommit &&
16 stg pop
19 test_expect_success 'sink without applied patches' '
20 command_error stg sink
23 test_expect_success 'sink a specific patch without applied patches' '
24 stg sink y &&
25 test $(echo $(stg series --applied --noprefix)) = "y"
28 test_done