tests/test-tools.t
changeset 26950 6686ae524f94
parent 24361 8de8cd34f2e3
child 32940 75be14993fda
equal deleted inserted replaced
26949:b639b2f186bf 26950:6686ae524f94
    41 #if symlink
    41 #if symlink
    42   $ f foo --mode
    42   $ f foo --mode
    43   foo: mode=644
    43   foo: mode=644
    44 #endif
    44 #endif
    45 
    45 
       
    46 #if no-windows
    46   $ python $TESTDIR/seq.py 10 > bar
    47   $ python $TESTDIR/seq.py 10 > bar
       
    48 #else
       
    49 Convert CRLF -> LF for consistency
       
    50   $ python $TESTDIR/seq.py 10 | sed "s/$//" > bar
       
    51 #endif
       
    52 
    47 #if unix-permissions symlink
    53 #if unix-permissions symlink
    48   $ chmod +x bar
    54   $ chmod +x bar
    49   $ f bar --newer foo --mode --type --size --dump --links --bytes 7
    55   $ f bar --newer foo --mode --type --size --dump --links --bytes 7
    50   bar: file, size=21, mode=755, links=1, newer than foo
    56   bar: file, size=21, mode=755, links=1, newer than foo
    51   >>>
    57   >>>