Remove dashed form of git command still in comment
[stgit] / t / t1501-sink.sh
CommitLineData
205b1af9
KH
1#!/bin/sh
2
3test_description='Test "stg sink"'
4
5. ./test-lib.sh
6
7test_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
17'
18
19test_expect_success 'sink without applied patches' '
f03004e2 20 command_error stg sink
205b1af9
KH
21'
22
cd65a83b 23test_expect_success 'sink a specific patch without applied patches' '
205b1af9 24 stg sink y &&
f9d9a062 25 test $(echo $(stg series --applied --noprefix)) = "y"
205b1af9
KH
26'
27
28test_done