Skip to content

Conversation

@evgenyz
Copy link
Contributor

@evgenyz evgenyz commented Apr 15, 2025

Modify the test so it could catch the regression
with environment variable modified during execution. See #2168.

@evgenyz evgenyz changed the title tests: OVAL/API/skip_paths tests: OVAL/API/skip_paths (1.3) Apr 15, 2025
@evgenyz evgenyz added the 1.3 Related to OpenSCAP 1.3.x version label Apr 15, 2025
@evgenyz evgenyz changed the title tests: OVAL/API/skip_paths (1.3) tests: OVAL/API/skip_paths Apr 15, 2025
@Mab879 Mab879 self-assigned this Apr 16, 2025
mkdir -p "$root/c"
touch "$root/c/z"
cp "$srcdir/test.xml" "$root/c/"
# oscap probes will skip directories "b" and "c"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# oscap probes will skip directories "b" and "c"
# oscap probes will skip directories "n" and "c"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Modify the test so it could catch the regression
with environment variable modified during execution.
See OpenSCAP#2168.
@evgenyz evgenyz force-pushed the modify-test-skip-paths-1.3 branch from 80ee09b to d38914a Compare April 16, 2025 20:38
@Mab879 Mab879 merged commit 6a27cc1 into OpenSCAP:maint-1.3 Apr 16, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.3 Related to OpenSCAP 1.3.x version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants