File: test_utils_args.sh

package info (click to toggle)
openscap 1.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 125,040 kB
  • sloc: xml: 527,109; ansic: 91,390; sh: 19,789; python: 2,515; perl: 444; makefile: 49
file content (16 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

. $builddir/tests/test_common.sh

set -e -o pipefail

xccdf="$srcdir/test_utils_args_xccdf_profile.xml"
r1="test_utils_args1.log"
r2="test_utils_args2.log"

$OSCAP info --verbose DEVEL --profiles "$xccdf" 1> "$r1"
$OSCAP info --verbose=DEVEL --profiles "$xccdf" 1> "$r2"

diff "$r1" "$r2"

rm -f "$r1" "$r2"