From 477c8a0b21b5f546904574e630139736cdaf2951 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Tue, 4 Nov 2003 15:53:15 +0000 Subject: - Add failpop.test that checks if modified patches are recognized. - Fix the check for modified patches: That broke with the .pc file removal. --- test/failpop.test | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/failpop.test (limited to 'test') 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 -- cgit