tests/test-fix.t
branchstable
changeset 37798 8fa3396a832d
parent 37791 72ccb0716302
child 37809 80695628adcb
--- a/tests/test-fix.t	Thu Apr 19 19:55:51 2018 +0900
+++ b/tests/test-fix.t	Thu Apr 19 22:12:10 2018 +0900
@@ -493,11 +493,11 @@
   $ printf "NO FIX NEEDED\n" > foo.whole
   $ hg add
   adding foo.whole
-  $ cp foo.whole foo.whole.orig
+  $ cp -p foo.whole foo.whole.orig
   $ sleep 2 # mtime has a resolution of one or two seconds.
   $ hg fix --working-dir
-  $ f foo.whole --newer foo.whole.orig
-  foo.whole: older than foo.whole.orig
+  $ f foo.whole.orig --newer foo.whole
+  foo.whole.orig: newer than foo.whole
 
   $ cd ..