~ubuntu-branches/ubuntu/natty/quilt/natty

« back to all changes in this revision

Viewing changes to test/sort.test

  • Committer: Bazaar Package Importer
  • Author(s): Martin Quinson
  • Date: 2006-11-23 16:17:11 UTC
  • mfrom: (2.1.6 feisty)
  • Revision ID: james.westby@ubuntu.com-20061123161711-b17ess0ls8t959ca
Tags: 0.45-6
* [debian/patches/override_mail_sender_in_testsuite]
  Fix the patch to catch all occurences of 'quilt mail' since each of them
  will cause a FTBFS on misconfigured hosts (thanks to Goswin Brederlow).
  (Closes: #397285, #395482, #393985) I hope, at least.
  
* [debian/patches/doc_improvement]
  Fix some more typos in the manpages
  (Closes: #386548, #395447)

* [debian/control]
   Add procmail to suggest list to help users locating the 'formail' tool.
   (Closes: #396093)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        $ rm -rf d
 
2
        $ mkdir -p d/patches
 
3
        $ cd d
 
4
 
 
5
        $ quilt new sort.diff
 
6
        > Patch patches/sort.diff is now on top
 
7
 
 
8
        $ quilt add b f
 
9
        > File b added to patch patches/sort.diff
 
10
        > File f added to patch patches/sort.diff
 
11
 
 
12
        $ echo b > b
 
13
        $ echo f > f
 
14
        $ quilt refresh
 
15
        > Refreshed patch patches/sort.diff
 
16
 
 
17
        $ quilt add c
 
18
        > File c added to patch patches/sort.diff
 
19
 
 
20
        $ echo c > c
 
21
        $ quilt refresh
 
22
        > Refreshed patch patches/sort.diff
 
23
 
 
24
        $ quilt files
 
25
        > b
 
26
        > c
 
27
        > f
 
28
 
 
29
        $ quilt diff | grep '^Index'
 
30
        > Index: d/b
 
31
        > Index: d/f
 
32
        > Index: d/c
 
33
 
 
34
        $ quilt add z x
 
35
        > File z added to patch patches/sort.diff
 
36
        > File x added to patch patches/sort.diff
 
37
 
 
38
        $ echo z > z
 
39
        $ echo x > x
 
40
        $ quilt files
 
41
        > b
 
42
        > c
 
43
        > f
 
44
        > x
 
45
        > z
 
46
 
 
47
        $ quilt diff | grep '^Index'
 
48
        > Index: d/b
 
49
        > Index: d/f
 
50
        > Index: d/c
 
51
        > Index: d/x
 
52
        > Index: d/z
 
53
 
 
54
        $ quilt add a
 
55
        > File a added to patch patches/sort.diff
 
56
 
 
57
        $ echo a > a
 
58
        $ quilt files
 
59
        > a
 
60
        > b
 
61
        > c
 
62
        > f
 
63
        > x
 
64
        > z
 
65
 
 
66
        $ quilt diff | grep '^Index'
 
67
        > Index: d/b
 
68
        > Index: d/f
 
69
        > Index: d/c
 
70
        > Index: d/a
 
71
        > Index: d/x
 
72
        > Index: d/z
 
73
 
 
74
        $ quilt refresh
 
75
        > Refreshed patch patches/sort.diff
 
76
 
 
77
        $ grep '^Index' patches/sort.diff
 
78
        > Index: d/b
 
79
        > Index: d/f
 
80
        > Index: d/c
 
81
        > Index: d/a
 
82
        > Index: d/x
 
83
        > Index: d/z
 
84
 
 
85
        $ quilt diff --sort | grep '^Index'
 
86
        > Index: d/a
 
87
        > Index: d/b
 
88
        > Index: d/c
 
89
        > Index: d/f
 
90
        > Index: d/x
 
91
        > Index: d/z
 
92
 
 
93
        $ quilt refresh --sort
 
94
        > Refreshed patch patches/sort.diff
 
95
 
 
96
        $ grep '^Index' patches/sort.diff
 
97
        > Index: d/a
 
98
        > Index: d/b
 
99
        > Index: d/c
 
100
        > Index: d/f
 
101
        > Index: d/x
 
102
        > Index: d/z
 
103
        
 
104
        $ cd ..
 
105
        $ rm -rf d