# HG changeset patch # User Adrian Buehlmann # Date 1351072284 -7200 # Node ID 2142691be14fc4a9049c6e209c1933bd2ed847b0 # Parent 3125af2d99d2914c6a689cc30475a3e926ecc5da test-remove: adapt to differing error message on Windows On Windows, this part of the test failed with $ hg rm --after nosuch - nosuch: No such file or directory + nosuch: The system cannot find the file specified [1] Fixed by glob-ing away the error message if the test is run on Windows (see for example test-bad-pull.t line 3 for precedent). test-remove.t now passes on Windows. diff -r 3125af2d99d2 -r 2142691be14f tests/test-remove.t --- a/tests/test-remove.t Wed Oct 24 11:38:31 2012 +0200 +++ b/tests/test-remove.t Wed Oct 24 11:51:24 2012 +0200 @@ -276,6 +276,12 @@ $ rm d1/a $ hg rm --after d1 removing d1/a (glob) +#if windows + $ hg rm --after nosuch + nosuch: * (glob) + [1] +#else $ hg rm --after nosuch nosuch: No such file or directory [1] +#endif