[16.07.2011 16:17:35] scriptt.sh v0.0.1 started on Sat Jul 16 16:17:35 CEST 2011 [16.07.2011 16:17:35] Reading the config file "/data/develop/scripts/scriptt.conf" ... [16.07.2011 16:17:36] Using the log file "/var/tmp/scriptt.LOG" [16.07.2011 16:17:36] INFO: Config file version is: "v0.0.1" [16.07.2011 16:17:36 scriptt test suite] Starting the test suite for "scriptt.sh" [16.07.2011 16:17:36 scriptt test suite] Using the log directory "/var/tmp/scriptt.sh_testsuite.26997/" [16.07.2011 16:17:36 scriptt test suite] Doing the test "Parameter_quiet_test" (Parameter -q) ... [16.07.2011 16:17:36 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//Parameter_quiet_test.log Parameter_quiet_test [16.07.2011 16:17:38 scriptt test suite] The test "Parameter_quiet_test" succeeded. [16.07.2011 16:17:38 scriptt test suite] Doing the test "usr1_signal_handler_test_001" (SIGUSR1 while in the main function) ... [16.07.2011 16:17:38 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//usr1_signal_handler_test_001.log usr1_signal_handler_test_001 [16.07.2011 16:17:40 scriptt test suite] The test "usr1_signal_handler_test_001" succeeded. [16.07.2011 16:17:40 scriptt test suite] Doing the test "usr1_signal_handler_test_002" (SIGUSR1 while in a function) ... [16.07.2011 16:17:40 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//usr1_signal_handler_test_002.log usr1_signal_handler_test_002 [16.07.2011 16:17:41 scriptt test suite] The test "usr1_signal_handler_test_002" succeeded. [16.07.2011 16:17:41 scriptt test suite] Doing the test "usr2_signal_handler_test_001" (SIGUSR2 while in the main function) ... [16.07.2011 16:17:41 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//usr2_signal_handler_test_001.log usr2_signal_handler_test_001 [16.07.2011 16:17:43 scriptt test suite] The test "usr2_signal_handler_test_001" succeeded. [16.07.2011 16:17:43 scriptt test suite] Doing the test "usr2_signal_handler_test_002" (SIGUSR2 while in a function) ... [16.07.2011 16:17:43 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//usr2_signal_handler_test_002.log usr2_signal_handler_test_002 [16.07.2011 16:17:44 scriptt test suite] The test "usr2_signal_handler_test_002" succeeded. [16.07.2011 16:17:45 scriptt test suite] Doing the test "hup_signal_handler_test_001" (SIGHUP while in the main function) ... [16.07.2011 16:17:45 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//hup_signal_handler_test_001.log hup_signal_handler_test_001 [16.07.2011 16:17:46 scriptt test suite] The test "hup_signal_handler_test_001" succeeded. [16.07.2011 16:17:46 scriptt test suite] Doing the test "hup_signal_handler_test_002" (SIGHUP while in a function) ... [16.07.2011 16:17:46 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//hup_signal_handler_test_002.log hup_signal_handler_test_002 [16.07.2011 16:17:48 scriptt test suite] The test "hup_signal_handler_test_002" succeeded. [16.07.2011 16:17:48 scriptt test suite] Doing the test "hup_signal_handler_test_003" (SIGHUP handler with non-zero returncode) ... [16.07.2011 16:17:48 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//hup_signal_handler_test_003.log hup_signal_handler_test_003 [16.07.2011 16:17:49 scriptt test suite] The test "hup_signal_handler_test_003" succeeded. [16.07.2011 16:17:49 scriptt test suite] Doing the test "int_signal_handler_test_001" (SIGINT while in the main function with BREAK disabled) ... [16.07.2011 16:17:49 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//int_signal_handler_test_001.log int_signal_handler_test_001 [16.07.2011 16:17:50 scriptt test suite] The test "int_signal_handler_test_001" succeeded. [16.07.2011 16:17:50 scriptt test suite] Doing the test "int_signal_handler_test_002" (SIGINT while in a function with BREAK disabled) ... [16.07.2011 16:17:50 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//int_signal_handler_test_002.log int_signal_handler_test_002 [16.07.2011 16:17:52 scriptt test suite] The test "int_signal_handler_test_002" succeeded. [16.07.2011 16:17:52 scriptt test suite] Doing the test "int_signal_handler_test_003" (SIGINT while in a function with BREAK enabled) ... [16.07.2011 16:17:52 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//int_signal_handler_test_003.log int_signal_handler_test_003 [16.07.2011 16:17:54 scriptt test suite] The test "int_signal_handler_test_003" succeeded. [16.07.2011 16:17:54 scriptt test suite] Doing the test "term_signal_handler_test_001" (SIGTERM while in the main function) ... [16.07.2011 16:17:54 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//term_signal_handler_test_001.log term_signal_handler_test_001 [16.07.2011 16:17:55 scriptt test suite] The test "term_signal_handler_test_001" succeeded. [16.07.2011 16:17:55 scriptt test suite] Doing the test "term_signal_handler_test_002" (SIGTERM while in a function) ... [16.07.2011 16:17:55 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//term_signal_handler_test_002.log term_signal_handler_test_002 [16.07.2011 16:17:57 scriptt test suite] The test "term_signal_handler_test_002" succeeded. [16.07.2011 16:17:57 scriptt test suite] Doing the test "quit_signal_handler_test_001" (SIGHUP while in the main function) ... [16.07.2011 16:17:57 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//quit_signal_handler_test_001.log quit_signal_handler_test_001 [16.07.2011 16:17:59 scriptt test suite] The test "quit_signal_handler_test_001" succeeded. [16.07.2011 16:17:59 scriptt test suite] Doing the test "quit_signal_handler_test_002" (SIGHUP while in a function) ... [16.07.2011 16:17:59 scriptt test suite] CMD: ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//quit_signal_handler_test_002.log quit_signal_handler_test_002 [16.07.2011 16:18:00 scriptt test suite] The test "quit_signal_handler_test_002" succeeded. [16.07.2011 16:18:00 scriptt test suite] Doing the test "syntax_error_test_001" (create env var dump in case of an error) ... [16.07.2011 16:18:00 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//syntax_error_test_001.log syntax_error_test_001 [16.07.2011 16:18:02 scriptt test suite] The test "syntax_error_test_001" succeeded. [16.07.2011 16:18:02 scriptt test suite] Doing the test "syntax_error_test_002" (create env var dump in case of an error in a specified directory) ... [16.07.2011 16:18:02 scriptt test suite] CMD: __CREATE_DUMP=/var/tmp/scriptt.sh_testsuite.26997//scriptt.sh_dump.26997 ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//syntax_error_test_002.log syntax_error_test_002 [16.07.2011 16:18:03 scriptt test suite] The test "syntax_error_test_002" succeeded. [16.07.2011 16:18:03 scriptt test suite] Doing the test "syntax_error_test_003" (suppress creating the env var dump) ... [16.07.2011 16:18:03 scriptt test suite] CMD: __CREATE_DUMP=/var/tmp/scriptt.sh_testsuite.26997//scriptt.sh_dump.26997 ; __DUMP_ALREADY_CREATED=0 ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//syntax_error_test_003.log syntax_error_test_003 [16.07.2011 16:18:04 scriptt test suite] The test "syntax_error_test_003" succeeded. [16.07.2011 16:18:04 scriptt test suite] Doing the test "syntax_error_test_004" (syntax error while executing an include file) ... [16.07.2011 16:18:04 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//syntax_error_test_004.log syntax_error_test_004 [16.07.2011 16:18:05] RUNTIME INFO: Parameter after processing the default parameter are: "-v -v -l /var/tmp/scriptt.sh_testsuite.26997//syntax_error_test_004.log syntax_error_test_004" [16.07.2011 16:18:05] RUNTIME INFO: Not processed parameter: "syntax_error_test_004" [16.07.2011 16:18:05] RUNTIME INFO: Initializing the log file"/var/tmp/scriptt.sh_testsuite.26997//syntax_error_test_004.log" [16.07.2011 16:18:05] RUNTIME INFO: Creating the temporary files ... [16.07.2011 16:18:05] RUNTIME INFO: Creating the temporary file "/tmp/scriptt.sh.29416.19943.TEMP1"; the variable is "${__TEMPFILE1} [16.07.2011 16:18:05] RUNTIME INFO: Creating the temporary file "/tmp/scriptt.sh.29416.29446.TEMP2"; the variable is "${__TEMPFILE2} [16.07.2011 16:18:05] RUNTIME INFO: Writing the PID 29416 to the PID file "/tmp/scriptt.pid" ... [16.07.2011 16:18:05] INFO: Config file version is: "v0.0.1" [16.07.2011 16:18:05] RUNTIME INFO: Including the script "/tmp/scriptt.sh_include" ... ./scriptt.sh[12]: "test=${xxx": bad substitution [16.07.2011 16:18:05] RUNTIME INFO: Trap "EXIT" caught [16.07.2011 16:18:05] RUNTIME INFO: Signal EXIT received: Line: 24 in function: main [16.07.2011 16:18:05] RUNTIME INFO: No user defined function for signal "EXIT" declared [16.07.2011 16:18:05] ERROR: EXIT signal received; the RC is 0 [16.07.2011 16:18:05] WARNING: You should use the function "die" to end the program [16.07.2011 16:18:05 scriptt test suite] The test "syntax_error_test_004" succeeded. [16.07.2011 16:18:05 scriptt test suite] Doing the test "rbac_test_001" (RBAC feature) ... [16.07.2011 16:18:05 scriptt test suite] CMD: export __RBAC_BINARY=/var/tmp/scriptt.sh_testsuite.26997//scriptt.sh_rbac.26997 ; __USE_RBAC=0 ./scriptt.sh -v -v -q -l /var/tmp/scriptt.sh_testsuite.26997//rbac_test_001.log rbac_test_001 [16.07.2011 16:18:06 scriptt test suite] The test "rbac_test_001" succeeded. grep: can't open /var/tmp/scriptt.sh_testsuite.26997//rbac_test_001.log [16.07.2011 16:18:06 scriptt test suite] Doing the test "tee_test_001" (Parameter -T) ... [16.07.2011 16:18:06 scriptt test suite] CMD: export __PPID= ; __TEE_OUTPUT_FILE=/var/tmp/scriptt.sh_testsuite.26997//scriptt.sh_tee1.26997 ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//tee_test_001.log -T tee_test_001 [16.07.2011 16:18:07 scriptt test suite] The test "tee_test_001" succeeded. [16.07.2011 16:18:07 scriptt test suite] Doing the test "cleanup_test001" (is house keeping working at all?) ... [16.07.2011 16:18:07 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//cleanup_test001.log cleanup_test001 [16.07.2011 16:18:10 scriptt test suite] The test "cleanup_test001" succeeded. [16.07.2011 16:18:10 scriptt test suite] Doing the test "cleanup_test002" (No cleanup after a syntax error) ... [16.07.2011 16:18:10 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//cleanup_test002.log cleanup_test002 [16.07.2011 16:18:11 scriptt test suite] The test "cleanup_test002" succeeded. [16.07.2011 16:18:11 scriptt test suite] Doing the test "cleanup_test003" (Test __CLEANUP_ON_ERROR) ... [16.07.2011 16:18:11 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//cleanup_test003.log cleanup_test003 [16.07.2011 16:18:14 scriptt test suite] The test "cleanup_test003" succeeded. [16.07.2011 16:18:14 scriptt test suite] Doing the test "cleanup_test004" (No cleanup after SetHousekeeping ${__FALSE}) ... [16.07.2011 16:18:14 scriptt test suite] Doing the test "cleanup_test004" (No cleanup after SetHousekeeping ${__FALSE}) ... [16.07.2011 16:18:14 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//cleanup_test004.log cleanup_test004 [16.07.2011 16:18:15 scriptt test suite] The test "cleanup_test004" succeeded. [16.07.2011 16:18:15 scriptt test suite] Doing the test "function_tests" (general function tests) ... [16.07.2011 16:18:15 scriptt test suite] Doing the test "function_tests" (general function tests) ... [16.07.2011 16:18:15 scriptt test suite] CMD: ./scriptt.sh -v -v -l /var/tmp/scriptt.sh_testsuite.26997//function_tests.log function_tests [16.07.2011 16:18:19 scriptt test suite] The test "function_tests" succeeded. [16.07.2011 16:18:19 scriptt test suite] Test suite for "scriptt.sh" done [16.07.2011 16:18:19 scriptt test suite] The logs of the tests are in the directory "/var/tmp/scriptt.sh_testsuite.26997/" [16.07.2011 16:18:19 scriptt test suite] The test suite log file is "/var/tmp/scriptt.sh_testsuite.26997//scriptt.sh.tests.26997.log" [16.07.2011 16:18:19 scriptt test suite] Test summaries [16.07.2011 16:18:19 scriptt test suite] -------------- [16.07.2011 16:18:19 scriptt test suite] 26 test(s) executed [16.07.2011 16:18:19 scriptt test suite] 26 test(s) succeeded [16.07.2011 16:18:19 scriptt test suite] 0 test(s) failed. [16.07.2011 16:18:19 scriptt test suite] 0 test(s) skipped. [16.07.2011 16:18:19] The log file used was "/var/tmp/scriptt.LOG" [16.07.2011 16:18:19] scriptt.sh v0.0.1 ended on Sat Jul 16 16:18:19 CEST 2011. [16.07.2011 16:18:20] The RC is 0.