lts_initd-0.7.tgz
Andrew Josey <[email protected]>
| Newsgroups | gmane.linux.lsb.test-suite |
|---|---|
| Message-ID | <[email protected]> |
hi All This should be the last update from me for today:-) I've updated the initd tests to 0.7 https://www.opengroup.org/infosrv/lsb/tmp/ This adds 6 testcases to tset/initd/misc/init-functions/ A full journal run against SuSE 9.2 on IA32 is at https://www.opengroup.org/infosrv/lsb/tmp/journal.txt Proposed assertions for the new test cases are inline and extracted below The start_daemon, killproc and pidofproc log_failure_msg, log_success_msg, log_warning_msg shall exist in the environment after sourcing in /lib/lsb/init-functions its unspecified whether they are functions, utilities or whatever Reference 20.8-1(A), The /lib/lsb/init-functions file shall define start_daemon in the current environment Reference 20.8-2(A), The /lib/lsb/init-functions file shall define killproc in the current environment Reference 20.8-4(A), The /lib/lsb/init-functions file shall define pidofproc in the current environment Reference 20.8-4(A), The /lib/lsb/init-functions file shall define log_success_msg in the current environment Reference 20.8-5(A), The /lib/lsb/init-functions file shall define log_failure_msg in the current environment Reference 20.8-6(A), The /lib/lsb/init-functions file shall define log_warning_msg in the current environment The test strategy uses the shell builtin "command" , for example (pseudo code): . /lib/lsb/init-functions.sh command -V killproc check exit status zero regards Andrew