File: t.failoverride

package info (click to toggle)
xdg-utils 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,652 kB
  • sloc: sh: 8,244; xml: 3,474; perl: 335; makefile: 188; awk: 41
file content (17 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

. "$XDG_TEST_DIR/include/testassertions.sh"
. "$XDG_TEST_DIR/include/testcontrol.sh"

test_verify_failoverride() {
test_start "$FUNCNAME: verify it works to change a fail to a warn"

test_procedure

test_fail "Manual failure"

test_failoverride WARN
test_result
}

run_test test_verify_failoverride