]> git.ipfire.org Git - thirdparty/libarchive.git/commit
test_utils: Reset all locale related entries
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 30 May 2025 15:32:02 +0000 (17:32 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 30 May 2025 15:32:02 +0000 (17:32 +0200)
commite70e24a73871e4e23f068c7e556e2cb6106f1f36
tree1fcf797f2c96b7f28bc82abfd6b969da21215004
parent59b09796c3402489c3f47625b6401a28d24ad8a4
test_utils: Reset all locale related entries

Reset current locale settings through setlocale and also all
environment variables which might affect test cases which
spawn children through systemf which in turn would call setlocale
on their own, e.g. bsdtar.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
test_utils/test_main.c