summaryrefslogblamecommitdiffstats
path: root/test/failpop.test
blob: c6274614294413f82eab8ca8bce25289f45f19a4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
                            





                             
                                           

                            
                                                    




                         
                                       





                                                               
                                                                                     


                  
	$ rm -rf d
	$ mkdir -p d/patches
	$ cd d

	$ cat > test.txt
	< This is test.txt.

	$ quilt new test.diff
	> Patch %{P}test.diff is now on top

	$ quilt add test.txt
	> File test.txt added to patch %{P}test.diff

	$ cat >> test.txt
	< Line two.

	$ quilt refresh
	> Refreshed patch %{P}test.diff

	$ sleep 2

	$ sed -e "s/ /_/g" patches/test.diff > patches/test.new
	$ mv patches/test.new patches/test.diff
	$ quilt pop
	> Patch %{P}test.diff does not remove cleanly (refresh it or enforce with -f)

	$ cd ..
	$ rm -rf d