summaryrefslogtreecommitdiffstats
path: root/test/remove2.test
blob: a7a588203f99d67322eace7dc27380c863f3098c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
	$ mkdir -p d/patches
	$ cd d

	$ quilt new remove.patch
	> Patch patches/remove.patch is now on top

	$ quilt add foo bar baz
	> File foo added to patch patches/remove.patch
	> File bar added to patch patches/remove.patch
	> File baz added to patch patches/remove.patch

	$ echo foo > foo
	$ echo bar > bar
	$ echo baz > baz
	$ quilt remove baz
	> File baz removed from patch patches/remove.patch

	$ quilt refresh
	> Refreshed patch patches/remove.patch

	$ quilt remove bar
	> File bar removed from patch patches/remove.patch

	$ quilt refresh
	> Refreshed patch patches/remove.patch

	$ cd ..
	$ rm -rf d