##// END OF EJS Templates
dispatch: don't show list of commands on bogus command...
dispatch: don't show list of commands on bogus command If a command is ambiguous, you get this: $ hg ve hg: command 've' is ambiguous: verify version [255] If you typo a command, you get this: $ hg comit hg: unknown command 'comit' (did you mean one of commit, incoming, mycommit?) [255] But if you completely mistype a command so it no longer looks like any existing commands, you get a full list of commands. That might be useful the first time you use Mercurial, but after that it's probably more annoying than help, especially if you have the pager enabled and have a short terminal. Let's instead give a short hint telling the user to run `hg help` for more help. Differential Revision: https://phab.mercurial-scm.org/D4024

File last commit:

r38264:46dcb9f1 default
r38810:81fb4421 default
Show More
test-fuzz-targets.t
18 lines | 410 B | text/troff | Tads3Lexer
/ tests / test-fuzz-targets.t
Yuya Nishihara
test-fuzz-targets: look for clang-6.0 binary as well...
r38238 #require test-repo
Augie Fackler
contrib: add some basic scaffolding for some fuzz test targets...
r35688 $ cd $TESTDIR/../contrib/fuzz
Yuya Nishihara
test-fuzz-targets: look for clang-6.0 binary as well...
r38238
#if clang-libfuzzer
Yuya Nishihara
test-fuzz-targets: rebuild executable silently...
r38237 $ make -s clean all
Yuya Nishihara
test-fuzz-targets: look for clang-6.0 binary as well...
r38238 #endif
#if no-clang-libfuzzer clang-6.0
$ make -s clean all CC=clang-6.0 CXX=clang++-6.0
#endif
#if no-clang-libfuzzer no-clang-6.0
$ exit 80
#endif
Augie Fackler
tests: update fuzzer tests to include both fuzzers...
r38190 Just run the fuzzers for five seconds each to verify it works at all.
Augie Fackler
contrib: add some basic scaffolding for some fuzz test targets...
r35688 $ ./bdiff -max_total_time 5
Augie Fackler
fuzz: new fuzzer for the mpatch code...
r38264 $ ./mpatch -max_total_time 5
Augie Fackler
tests: update fuzzer tests to include both fuzzers...
r38190 $ ./xdiff -max_total_time 5