#!/bin/sh # Example of a shell test. # In this case, the name of the shell test is 'example-shell', so the directory it resides in # should be called 'example-shell', as well as the main file itself. # The possible results are: # # PASS = successful # INFO = information given (neither pass nor fail) # WARN = warning, not severe, but notable # FAIL = failure, probably something serious or important # # start_test example-shell "This is a shell test" "This is a longer description of the test" # report_result example-shell PASS "This is the result msg" # report_result example-shell WARN "This is the result msg" "This is the more detailed result msg" # report_result example-shell FAIL "This is the result msg" "This is the more detailed result msg related to the dmesg resource" "dmesg://" # finish_test example-shell