File: refresh.test

package info (click to toggle)
quilt 0.68-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,052 kB
  • sloc: sh: 6,102; perl: 1,273; lisp: 522; makefile: 436
file content (22 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	$ mkdir patches

	$ echo a > a
	$ echo b > b
	$ diff -u a b > patches/patch
	$ echo patch -p0 > patches/series
	$ rm -f b
	$ quilt push -q
	> Applying patch %{P}patch
	> Now at patch %{P}patch

	$ echo a > a
	$ quilt refresh
	> Nothing in patch %{P}patch
	$ quilt pop
	> Removing patch %{P}patch
	> Restoring a
	>
	> No patches applied
	$ cat a
	> a
	$ cat patches/patch