File: failpop.test

package info (click to toggle)
quilt 0.69-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,052 kB
  • sloc: sh: 6,071; perl: 1,273; lisp: 522; makefile: 442
file content (30 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (2)
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
29
30
	$ mkdir patches

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

	$ quilt new test.diff
	> Patch %{P}test.diff is now on top
	$ echo %{?}
	> 0

	$ quilt add test.txt
	> File test.txt added to patch %{P}test.diff
	$ echo %{?}
	> 0

	$ cat >> test.txt
	< Line two.

	$ quilt refresh
	> Refreshed patch %{P}test.diff
	$ echo %{?}
	> 0

	$ sed -e "s/ /_/g" patches/test.diff > patches/test.new
	$ mv patches/test.new patches/test.diff
	$ quilt pop
	> Patch %{P}test.diff does not remove cleanly (refresh it or enforce with -f)
	> Hint: `quilt diff -z' will show the pending changes.
	$ echo %{?}
	> 1