Skip to content

Commit 94663a3

Browse files
committed
Fix indentation and syntax of test script
1 parent bdc3cfe commit 94663a3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/probes/yamlfilecontent/test_probes_yamlfilecontent_array.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function test_probes_yamlfilecontent_array {
66

77
probecheck "yamlfilecontent" || return 255
88

9-
local ret_val=0;
9+
local ret_val=0
1010
local DF="${srcdir}/test_probes_yamlfilecontent_array.xml"
1111
local RF="results.xml"
1212

@@ -19,10 +19,10 @@ function test_probes_yamlfilecontent_array {
1919
$OSCAP oval eval --results $RF $DF
2020

2121
if [ -f $RF ]; then
22-
verify_results "def" $DF $RF 2 && verify_results "tst" $DF $RF 3
23-
ret_val=$?
22+
verify_results "def" $DF $RF 2 && verify_results "tst" $DF $RF 3
23+
ret_val=$?
2424
else
25-
ret_val=1
25+
ret_val=1
2626
fi
2727

2828
rm -f $YAML_FILE

tests/probes/yamlfilecontent/test_probes_yamlfilecontent_key.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function test_probes_yamlfilecontent_key {
66

77
probecheck "yamlfilecontent" || return 255
88

9-
local ret_val=0;
9+
local ret_val=0
1010
local DF="${srcdir}/test_probes_yamlfilecontent_key.xml"
1111
local RF="results.xml"
1212

@@ -19,10 +19,10 @@ function test_probes_yamlfilecontent_key {
1919
$OSCAP oval eval --results $RF $DF
2020

2121
if [ -f $RF ]; then
22-
verify_results "def" $DF $RF 2 && verify_results "tst" $DF $RF 3
23-
ret_val=$?
22+
verify_results "def" $DF $RF 2 && verify_results "tst" $DF $RF 3
23+
ret_val=$?
2424
else
25-
ret_val=1
25+
ret_val=1
2626
fi
2727

2828
rm -f $YAML_FILE

0 commit comments

Comments
 (0)