• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:exit +full:- +full:code

129  important) testing techniques in its normal operations: Design and Code
132 set of tools to help identify any operational problems in their code that
205 Any code that you write to examine how a part of the kernel works can
213 Exit Style Tests
217 exit status of your program.
218 If your test program encounters unexpected or incorrect results, exit
219 the test program with a non-zero exit status, i.e.
222 exit(1)
225 Conversely, if your program completes as expected, return a zero exit status,
229 exit(0)
256 ltp-pan
266 Ltp-pan
271 ltp-pan
276 By default ltp-pan will select a command randomly from the list of test tags,
280 Ltp-pan can be nested to create very complex test environments.
283 Ltp-pan uses an
293 When you start ltp-pan it becomes a test tag in itself, thus it requires a
295 Ltp-pan updates the active file to show which test tags are currently running.
296 When a test tag exits, ltp-pan will overwrite the first character with a '#'.
297 The active file can be shared between multiple instances of ltp-pan so you
305 ltp-pan file
307 contains a list of test tags for ltp-pan to run.
308 The format of a ltp-pan file is as follows:
309 \layout Code
313 testtag testprogram -o one -p two other command line options
314 \layout Code
320 \layout Code
324 # tags in your ltp-pan file.
326 \layout Code
331 \layout Code
336 \layout Code
341 \layout Code
345 mm01 mmap001 -m 10000
346 \layout Code
351 \layout Code
356 \layout Code
361 \layout Code
365 mm03 mmap001 -i 0 -I 1 -m 100
366 \layout Code
371 \layout Code
376 \layout Code
381 \layout Code
386 \layout Code
391 \layout Code
396 \layout Code
400 fs-suite01 ltp-pan -e -a fs-suite01.zoo -n fs-suite01 -f runtest/fs
401 \layout Code
410 Lines starting with '#' are comments and ignored by ltp-pan.
418 The most basic way to run ltp-pan is by passing the test program and parameters
422 \layout Code
426 $ ltp-pan -a ltp.zoo -n tutor sleep 4
427 \layout Code
432 \layout Code
437 \layout Code
442 \layout Code
447 \layout Code
451 analysis=exit
452 \layout Code
457 \layout Code
462 \layout Code
467 \layout Code
473 \layout Code
478 \layout Code
483 \layout Code
487 #9357,tutor,pan/ltp-pan -a ltp.zoo -n tutor sleep 4
488 \layout Code
493 \layout Code
503 This example shows the two parameters that are always required by ltp-pan, the
504 active file and a test tag for ltp-pan.
513 on the end of the command line is a test program and parameters that ltp-pan
523 Ltp-pan will run one test randomly, which ends up being cmdln since it is the
524 only test that we told ltp-pan about.
532 , ltp-pan writes the pid, test tag, and part of the command line for the currently
535 When a test tag finishes, ltp-pan will place a '#' at the beginning of the
537 Here you can see that cmdln and tutor, the name we gave ltp-pan, ran to completion.
546 \layout Code
550 $ ltp-pan -a ltp.zoo -n tutor -x 3 -s 3 -O /tmp sleep 1
551 \layout Code
556 \layout Code
561 \layout Code
566 \layout Code
571 \layout Code
575 analysis=exit
576 \layout Code
581 \layout Code
586 \layout Code
591 \layout Code
596 \layout Code
601 \layout Code
606 \layout Code
611 \layout Code
616 \layout Code
621 \layout Code
626 \layout Code
631 \layout Code
635 analysis=exit
636 \layout Code
641 \layout Code
646 \layout Code
651 \layout Code
656 \layout Code
661 \layout Code
666 \layout Code
671 \layout Code
676 \layout Code
681 \layout Code
686 \layout Code
691 \layout Code
695 analysis=exit
696 \layout Code
701 \layout Code
706 \layout Code
711 \layout Code
716 \layout Code
721 \layout Code
726 \layout Code
737 it three times (-s 3) and keep three test tags active at the same time
738 (-x 3).
739 The -O parameter is a directory where temporary files can be created to
742 If the -O option were omitted, your test output would be mixed, making
747 Using a ltp-pan file to run multiple tests
750 Nesting ltp-pan
753 For more information on ltp-pan see the man page
755 doc/man1/ltp-pan.1
765 Ltp-scanner
773 ltp-pan
780 The Quick-hitter Package
783 Many of the tests released use the Quick-hitter test package to perform
794 , which shows how the quick-hitter package can be used.
939 Ltp-pan is an example of a test driver.
953 It may be a specification of exit codes, or a set of libraries for formatting
954 messages and determining exit codes.