monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone: f79d8215061cd57a97ecfe3bd02


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: f79d8215061cd57a97ecfe3bd02a7748ff605cf5
Date: Wed, 17 Jul 2013 20:42:16 +0200 (CEST)

revision:            f79d8215061cd57a97ecfe3bd02a7748ff605cf5
date:                2013-07-16T21:56:06
author:              address@hidden
branch:              net.venge.monotone
changelog:
* test/func/diff_patch_drop/__driver__.lua: Old GNU patch versions were a bit
  aggressive and removed an empty directory, where they should only have
  removed the file. Let's not rely on that and allow the test to pass with
  newer GNU patch versions that behave better.

manifest:
format_version "1"

new_manifest [d6db717b39a3690ad70ee0e5c491fc7e722f347f]

old_revision [0d22697daf2fd169db15445cd88f8a7be7371f64]

patch "test/func/diff_patch_drop/__driver__.lua"
 from [44f918b35a0cafe04c3e0f80f6da64664d8cf32c]
   to [04931b6a39703b2217a3823d2369adda1cfa360c]
============================================================
--- test/func/diff_patch_drop/__driver__.lua	44f918b35a0cafe04c3e0f80f6da64664d8cf32c
+++ test/func/diff_patch_drop/__driver__.lua	04931b6a39703b2217a3823d2369adda1cfa360c
@@ -32,9 +32,10 @@ else
     check({"patch", "-p0", "-E"}, 0, false, false, true)
     check(not exists("dir/file"))
 else
-    -- GNU patch should only remove the file
-    -- but it is a little aggressive and removes the dir too!
     check({"patch", "-p0"}, 0, false, false, true)
     check(not exists("dir/file"))
-    check(not exists("dir"))
+
+    -- GNU patch should only remove the file but older versions may be a
+    -- little aggressive and remove the dir too! We test monotone, here,
+    -- so we shouldn't care whether or not "dir" still exists.
 end

reply via email to

[Prev in Thread] Current Thread [Next in Thread]