mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
12 lines
306 B
Bash
Executable File
12 lines
306 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo % test --time
|
|
hg --time help 2>&1 | grep -q Time || echo --time failed
|
|
|
|
echo % test --profile
|
|
hg --profile help 2>&1 | grep -q ncalls || echo --profile failed
|
|
|
|
echo % test --lsprof
|
|
if "$TESTDIR/hghave" -q lsprof; then
|
|
hg --lsprof help 2>&1 | grep -q CallCount || echo --lsprof failed
|
|
fi |