debian/rules should be producing architecture independent packages
[stgit/dwhite.git] / t / t1700-goto-top.sh
blob8f2d44a0eb526dcec31559cd61791dce45f26828
1 #!/bin/sh
3 # Copyright (c) 2006 Ilpo Järvinen
6 test_description='Test goto to the current patch.
10 . ./test-lib.sh
12 test_expect_success \
13 'Initialize the StGIT repository' \
14 'stg init
17 test_expect_success \
18 'Create the first patch' \
20 stg new foo -m "Foo Patch" &&
21 echo foo > test &&
22 git add test &&
23 stg refresh
26 test_expect_success \
27 'Goto current patch' \
29 stg goto `stg top`
32 test_done