changeset 24430:98d9d33dfd95

test-fileset.t: remove 'bar ' and 'baz\' from tested filenames This test is guarded by a '#if no-windows', but they can't be written out on vfat on Linux either. con.xml can, and for testing that's good enough. Also clean up a stray 'ls' that I mistakenly left in while writing the test.
author Siddharth Agarwal <sid0@fb.com>
date Sun, 22 Mar 2015 19:19:16 -0700
parents 69bd0ec2f9be
children a0004402776b
files tests/test-fileset.t
diffstat 1 files changed, 2 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fileset.t	Mon Mar 23 18:21:01 2015 -0700
+++ b/tests/test-fileset.t	Sun Mar 22 19:19:16 2015 -0700
@@ -113,24 +113,9 @@
 
 #if no-windows
   $ echo foo > con.xml
-  $ echo bar > 'bar '
-  $ echo baz > 'baz\'
-  $ ls
-  b1
-  b2
-  b2link
-  bar 
-  baz\
-  bin
-  c1
-  c2
-  c3
+  $ fileset 'not portable()'
   con.xml
-  $ fileset 'not portable()'
-  bar 
-  baz\
-  con.xml
-  $ hg --config ui.portablefilenames=ignore add con.xml 'bar ' 'baz\'
+  $ hg --config ui.portablefilenames=ignore add con.xml
 #endif
 
   >>> file('1k', 'wb').write(' '*1024)
@@ -244,11 +229,7 @@
 
 #if no-windows
   $ fileset -r1 'not portable()'
-  bar 
-  baz\
   con.xml
-  $ hg forget 'bar '
-  $ hg forget 'baz\'
   $ hg forget 'con.xml'
 #endif