##// END OF EJS Templates
tests: make a variable for hg binary location in test-check-py3-commands...
Augie Fackler -
r31376:3690c75f default
parent child Browse files
Show More
@@ -3,10 +3,11 b''
3 This test helps in keeping a track on which commands we can run on
3 This test helps in keeping a track on which commands we can run on
4 Python 3 and see what kind of errors are coming up.
4 Python 3 and see what kind of errors are coming up.
5 The full traceback is hidden to have a stable output.
5 The full traceback is hidden to have a stable output.
6 $ HGBIN=`which hg`
6
7
7 $ for cmd in version debuginstall ; do
8 $ for cmd in version debuginstall ; do
8 > echo $cmd
9 > echo $cmd
9 > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
10 > $PYTHON3 $HGBIN $cmd 2>&1 2>&1 | tail -1
10 > done
11 > done
11 version
12 version
12 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -20,7 +21,7 b' The full traceback is hidden to have a s'
20 $ cat >> $HGRCPATH <<EOF
21 $ cat >> $HGRCPATH <<EOF
21 > %include $TESTTMP/included-hgrc
22 > %include $TESTTMP/included-hgrc
22 > EOF
23 > EOF
23 $ $PYTHON3 `which hg` version | tail -1
24 $ $PYTHON3 $HGBIN version | tail -1
24 *** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob)
25 *** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob)
25 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26
27
General Comments 0
You need to be logged in to leave comments. Login now