tests/test-fileset.t
changeset 38327 62376d7b8859
parent 38326 8783f128048e
child 38599 f9805627af1f
equal deleted inserted replaced
38326:8783f128048e 38327:62376d7b8859
    66   b2
    66   b2
    67   $ fileset 'a* - a1'
    67   $ fileset 'a* - a1'
    68   a2
    68   a2
    69   $ fileset 'a_b'
    69   $ fileset 'a_b'
    70   $ fileset '"\xy"'
    70   $ fileset '"\xy"'
    71   hg: parse error: invalid \x escape
    71   hg: parse error: invalid \x escape* (glob)
    72   [255]
    72   [255]
    73 
    73 
    74 Test invalid syntax
    74 Test invalid syntax
    75 
    75 
    76   $ fileset -v '"added"()'
    76   $ fileset -v '"added"()'
   194   $ fileset 'grep("b{1}")'
   194   $ fileset 'grep("b{1}")'
   195   b2
   195   b2
   196   c1
   196   c1
   197   b1
   197   b1
   198   $ fileset 'grep("missingparens(")'
   198   $ fileset 'grep("missingparens(")'
   199   hg: parse error: invalid match pattern: unbalanced parenthesis
   199   hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \)).* (re)
   200   [255]
   200   [255]
   201 
   201 
   202 #if execbit
   202 #if execbit
   203   $ chmod +x b2
   203   $ chmod +x b2
   204   $ fileset 'exec()'
   204   $ fileset 'exec()'