You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API/OVAL/unittests/test_variable_in_filter.sh test writes to (and then removes) a /tmp/key_file file, which might conflict with other logic running on the same OS, which is the same OS (chroot) used for building the RPM.
Other files seem to correctly use mktemp.
If the test_variable_in_filter.xml cannot be dynamically sed-modified with the name of a temporary file, consider at least changing the name to something like /tmp/openscap_unittests_test_variable_in_filter.
Thanks!
OpenSCAP Version:
maint-1.3 as of 2023-02-03
The text was updated successfully, but these errors were encountered:
Description of Problem:
The
API/OVAL/unittests/test_variable_in_filter.sh
test writes to (and then removes) a/tmp/key_file
file, which might conflict with other logic running on the same OS, which is the same OS (chroot) used for building the RPM.Other files seem to correctly use
mktemp
.If the
test_variable_in_filter.xml
cannot be dynamically sed-modified with the name of a temporary file, consider at least changing the name to something like/tmp/openscap_unittests_test_variable_in_filter
.Thanks!
OpenSCAP Version:
maint-1.3
as of 2023-02-03The text was updated successfully, but these errors were encountered: