Skip to content

Commit 803c46a

Browse files
committed
Add integration test for proper name space in autotailor xml
1 parent f7d8868 commit 803c46a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/utils/autotailor_integration_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ assert_exists 1 '/Benchmark/TestResult/rule-result[@idref="xccdf_com.example.www
2121
assert_exists 1 '/Benchmark/TestResult/rule-result[@idref="xccdf_com.example.www_rule_R2"]/result[text()="pass"]'
2222
assert_exists 1 '/Benchmark/TestResult/rule-result[@idref="xccdf_com.example.www_rule_R3"]/result[text()="pass"]'
2323
assert_exists 1 '/Benchmark/TestResult/rule-result[@idref="xccdf_com.example.www_rule_R4"]/result[text()="notselected"]'
24+
grep "xccdf-1.2:" $tailoring
2425

2526
# select additional rules R3, R4
2627
python3 $autotailor --id-namespace "com.example.www" --select R3 --select R4 $ds $original_profile > $tailoring

0 commit comments

Comments
 (0)