| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | . $builddir/tests/test_common.sh |
| 4 | |
| 5 | set -e -o pipefail |
| 6 | |
| 7 | xccdf="$srcdir/test_utils_args_xccdf_profile.xml" |
| 8 | r1="test_utils_args1.log" |
| 9 | r2="test_utils_args2.log" |
| 10 | |
| 11 | $OSCAP info --verbose DEVEL --profiles "$xccdf" 1> "$r1" |
| 12 | $OSCAP info --verbose=DEVEL --profiles "$xccdf" 1> "$r2" |
| 13 | |
| 14 | diff "$r1" "$r2" |
| 15 | |
| 16 | rm -f "$r1" "$r2" |