diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/failpop.test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/failpop.test b/test/failpop.test new file mode 100644 index 0000000..9b4cc3d --- /dev/null +++ b/test/failpop.test @@ -0,0 +1,27 @@ + $ mkdir d + $ cd d + + $ cat > test.txt + < This is test.txt. + + $ quilt new test.diff + > Patch test is now on top + + $ quilt add test.txt + > File test.txt added to patch test + + $ cat >> test.txt + < Line two. + + $ quilt refresh + > Refreshed patch test + + $ sleep 2 + + $ sed -e "s/ /_/g" patches/test.diff > patches/test.new + $ mv patches/test.new patches/test.diff + $ quilt pop + > Patch test does not remove cleanly (enforce with -f). + + $ cd .. + $ rm -rf d |