Skip to content

Commit 49ce91c

Browse files
committed
tests/DS: Fix DS misc test to not include a check for cURL error message
The string representation of the cURL error message is not under our control and therefore should not be checked in our tests.
1 parent 1359ba8 commit 49ce91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/DS/test_ds_misc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function test_ds_error_remote_resources() {
262262

263263
$OSCAP xccdf eval --fetch-remote-resources --profile "$PROFILE" --results "$result" "$DS" 2>"$stderr" || ret=$?
264264
grep -q "Downloading: https://www.example.com/security/data/oval/oval.xml.bz2 ... error" "$stderr"
265-
grep -q "OpenSCAP Error: Download failed: HTTP response code said error: 404" "$stderr"
265+
grep -q "OpenSCAP Error: Download failed" "$stderr"
266266

267267
rm -f "$result" "$stderr"
268268
}

0 commit comments

Comments
 (0)