summaryrefslogtreecommitdiffstats
path: root/test/sort.test
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-09-23 20:32:24 +0000
committerJean Delvare <khali@linux-fr.org>2005-09-23 20:32:24 +0000
commita0439eb454fcbf07f3f9019f29c242a6949925ad (patch)
treefc445f6c00b998771d1960a3a2aa752e28ef2846 /test/sort.test
parent08adc50db9ea34ad6c5f52327046ce01a68fb983 (diff)
downloadquilt-a0439eb454fcbf07f3f9019f29c242a6949925ad.tar.gz
Sync with the recent behavior change of "quilt diff".
Diffstat (limited to 'test/sort.test')
-rw-r--r--test/sort.test20
1 files changed, 16 insertions, 4 deletions
diff --git a/test/sort.test b/test/sort.test
index 19b3506..4a59aec 100644
--- a/test/sort.test
+++ b/test/sort.test
@@ -23,8 +23,13 @@
$ quilt files
> b
- > f
> c
+ > f
+
+ $ quilt diff | grep '^Index'
+ > Index: d/b
+ > Index: d/f
+ > Index: d/c
$ quilt add z x
> File z added to patch patches/sort.diff
@@ -34,20 +39,27 @@
$ echo x > x
$ quilt files
> b
- > f
> c
+ > f
> x
> z
+ $ quilt diff | grep '^Index'
+ > Index: d/b
+ > Index: d/f
+ > Index: d/c
+ > Index: d/x
+ > Index: d/z
+
$ quilt add a
> File a added to patch patches/sort.diff
$ echo a > a
$ quilt files
+ > a
> b
- > f
> c
- > a
+ > f
> x
> z