diff options
Diffstat (limited to 'test/snapshot2.test')
-rw-r--r-- | test/snapshot2.test | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/snapshot2.test b/test/snapshot2.test index b55ed7d..3a33109 100644 --- a/test/snapshot2.test +++ b/test/snapshot2.test @@ -1,6 +1,5 @@ - $ rm -rf d - $ mkdir -p d/patches d/d - $ cd d + $ mkdir patches d + $ quilt new snapshot > Patch %{P}snapshot is now on top @@ -35,19 +34,16 @@ > Refreshed patch %{_P}snapshot-2 $ quilt diff --snapshot | grep -v "^\\(---\\|+++\\)" - > Index: d/d/f.txt + >~ Index: [^/]+/d/f\.txt > =================================================================== > @@ -1 +1,2 @@ > f.txt > +more changes - > Index: d/d/g.txt + >~ Index: [^/]+/d/g\.txt > =================================================================== > @@ -1 +0,0 @@ > -g.txt - > Index: d/d/h.txt + >~ Index: [^/]+/d/h\.txt > =================================================================== > @@ -0,0 +1 @@ > +h.txt - - $ cd ../.. - $ rm -rf d |