summaryrefslogtreecommitdiffstats
path: root/test/failpop.test
blob: 57c3daacfb81bd1b8a5a5abb6ded05897ed3cfd5 (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
	$ mkdir d
	$ cd d

	$ cat > test.txt
	< This is test.txt.

	$ quilt new test.diff
	> Patch test.diff is now on top

	$ quilt add test.txt
	> File test.txt added to patch test.diff

	$ cat >> test.txt
	< Line two.

	$ quilt refresh
	> Refreshed patch test.diff

	$ sleep 2

	$ sed -e "s/ /_/g" patches/test.diff > patches/test.new
	$ mv patches/test.new patches/test.diff
	$ quilt pop
	> Patch test.diff does not remove cleanly (enforce with -f).

	$ cd ..
	$ rm -rf d