Debian Codegraph @

tests/API/SEAP/test_api_seap.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 # Copyright 2009 Red Hat Inc., Durham, North Carolina.
4 # All Rights Reserved.
5 #
6 # OpenScap SEAP Test Suite.
7 #
8 # Created on: Nov 30, 2009
9 #
10 # Authors:
11 # David Niemoller
12 # Ondrej Moris <[email protected]>
13
14 . $builddir/tests/test_common.sh
15
16 # Test cases.
17
18 function test_api_seap_concurencyscip-shell shell shell-project 0.0.0 test_api_seap_concurency(). {
19 local ret_val=0;
20
21 export SEXP_VALIDATE_DISABLE="1"
22 export SEAP_DEBUGLOG_DISABLE="1"
23 ./test_api_seap_concurency
24 ret_val=$?
25 unset SEXP_VALIDATE_DISABLE
26 unset SEAP_DEBUGLOG_DISABLE
27
28 return $ret_val
29 }
30
31 function test_api_strtoscip-shell shell shell-project 0.0.0 test_api_strto(). {
32 ./test_api_strto
33 }
34
35 # Testing.
36
37 test_init
38
39 if [scip-shell system . . `[`. -z ${CUSTOM_OSCAP+x} ] ; then
40 test_run "test_api_seap_concurency" test_api_seap_concurency
41 test_run "test_api_seap_spb" ./test_api_seap_spb
42 test_run "test_api_seap_list" ./test_api_seap_list
43 test_run "test_api_seap_number_expression" ./test_api_seap_number
44 test_run "test_api_seap_string_expression" ./test_api_seap_string
45 test_run "test_api_SEXP_deepcmp" ./test_api_SEXP_deepcmp
46 test_run "test_api_strto" ./test_api_strto
47 fi
48
49 test_exit