tests/test-hghave.t
changeset 40205 89ba51c3e4f1
parent 39707 5abc47d4ca6b
child 40257 c3970be8deca
equal deleted inserted replaced
40204:5d50c9ffaebb 40205:89ba51c3e4f1
    33   $ hghave custom
    33   $ hghave custom
    34 
    34 
    35 (terminate with exit code 2 at failure of importing hghaveaddon.py)
    35 (terminate with exit code 2 at failure of importing hghaveaddon.py)
    36 
    36 
    37   $ rm hghaveaddon.*
    37   $ rm hghaveaddon.*
    38   $ cat > hghaveaddon.py <<EOF
    38   $ cat > hghaveaddon.py <<NO_CHECK_EOF
    39   > importing this file should cause syntax error
    39   > importing this file should cause syntax error
    40   > EOF
    40   > NO_CHECK_EOF
    41 
    41 
    42   $ hghave custom
    42   $ hghave custom
    43   failed to import hghaveaddon.py from '.': invalid syntax (hghaveaddon.py, line 1)
    43   failed to import hghaveaddon.py from '.': invalid syntax (hghaveaddon.py, line 1)
    44   [2]
    44   [2]