Lines Matching +refs:test +refs:fail

34 # A boolean variable that indicates whether we are parsing a test case's
41 # The file to which the test case will print its result.
44 # The test program's source directory: i.e. where its auxiliary data files
48 # Indicates the test case we are currently processing.
51 # List of meta-data variables for the current test case.
54 # The list of all test cases provided by the test program.
64 # Adds the given test case to the list of test cases that form the test
83 atf_fail "atf-check failed; see the output of the test for details"
99 test "${_val1}" = "${_val2}" || \
116 test "${_val1}" != "${_val2}" || \
202 # Sets the expectations to 'fail'.
208 Expect=fail
247 # Makes the test case report an expected failure with the given error
260 # Makes the test case fail with the given error message. Multiple
267 fail)
283 # Prints the value of a test case-specific variable. Given that one
295 # Prints the value of the test case's source directory.
305 # Makes the test case pass. Shouldn't be used in general, as a test
306 # case that does not explicitly fail is assumed to pass.
311 fail)
330 # automatically skips the test case with an appropriate message.
332 # Relative paths are not allowed because the test case cannot predict
360 # skips the test case with an appropriate message.
371 # Sets the test case's variable 'varname' to the specified values
373 # is supposed to be called from the test case's head only.
378 _atf_error 128 "atf_set called from the test case's body"
388 # Skips the test case because of the reason provided. Multiple words
400 # Defines a new test case named tc-name. The name provided here must be
425 # Sets the test case's private variable 'varname' to the specified
438 # Sets the test case's private variable 'varname' to the specified
475 # This must not be used by test programs themselves (hence making
476 # the function private) to indicate a test case's failure. They
527 # Returns true if the given test case exists.
540 # Describes all test cases and prints the list to the standard output.
573 # many times in each test script startup, those overheads add up
585 # Evaluates a test case's head to gather its variables and prepares the
586 # test program to run it.
608 # Runs the specified test case. Prints its exit status to the
609 # standard output and returns a boolean indicating if the test was
620 _atf_syntax_error "Unknown test case part \`${_tcpart}'"
630 _atf_has_tc "${_tcname}" || _atf_syntax_error "Unknown test case \`${1}'"
633 _atf_warning "Running test cases outside of kyua(1) is unsupported"
635 "you may get unexpected failures; see atf-test-case(4)"
653 ${_tcname}_cleanup || _atf_error 128 "The test case cleanup" \
658 _atf_error 128 "Unknown test case part"
672 echo "${Prog_Name}: See atf-test-program(1) for usage details." 1>&2
679 # Returns a boolean indicating if the given test case has a cleanup
692 # Ensures that the current test case state is correct regarding the expect
708 fail)
735 # This must not be used by test programs themselves (hence making
787 _atf_error 1 "Cannot find the test program in the source" \
790 # Call the test program's hook to register all available test cases.
793 # Run or list test cases.
796 _atf_syntax_error "Cannot provide test case names with -l"
801 _atf_syntax_error "Must provide a test case name"
803 _atf_syntax_error "Cannot provide more than one test case name"