function_log_compare >> function_report >> function_get_testlog >> function_unpack >> function_report_append 

Fuego 1.0 wiki

Login

Issue 0013 in split format

Summary
check for required test program (bc) on target in bc-script.sh; Owner: Tim; Reporter: Tim; Status: done; Priority: medium
; Summary: check for required test program (bc) on target in bc-script.sh; Owner: Tim; Reporter: Tim; Status: done; Priority: medium

Description [edit section]

= Description =The bc-script.sh program uses an already existing program (/usr/bin/bc) onthe target to perform its test.  The Functional.bc test is instructivein this regard, as it has empty test_build and test_deploy functions.
However, this test may fail if 'bc' is not present on the target.This test should, in test_run or test_deploy, look to verify that 'bc'is present on the target, and gracefully abort the test with a useful error message.
However, this test may fail if 'bc' is not present on the target.This test should, in test_run or test_deploy, look to verify that 'bc'is present on the target, and gracefully abort the test with a useful error message.

Notes [edit section]

= Notes =One reason this is interesting is that this can be a precursor to ageneral facility for finding test programs already on the target, whichwas one of the main requests I've had for the system.
Added support for optional test_pre_check() in the base script, and function is_on_target() to functions.sh. This allows for a test tocheck that a particular file or program is on the target system.
Added support for optional test_pre_check() in the base script, and function is_on_target() to functions.sh.  This allows for a test tocheck that a particular file or program is on the target system.
See Issue_0009
See [[Issue_0009]]
backlink

Fuego Issues List

; backlink: [[Fuego Issues List]]
TBWiki engine 1.9.3 by Tim Bird