]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: env-S.pl: unset GNU/Hurd env vars
authorCollin Funk <collin.funk1@gmail.com>
Tue, 14 Jan 2025 03:43:12 +0000 (19:43 -0800)
committerPádraig Brady <P@draigBrady.com>
Tue, 14 Jan 2025 12:33:52 +0000 (12:33 +0000)
* tests/misc/env-S.pl: Unset LD_ORIGIN_PATH.

tests/env/env-S.pl

index b250149656d34618e09fad520498387b3eec7366..48268b41c581b2665440f4eca62a543a4dc0d70e 100755 (executable)
@@ -39,6 +39,9 @@ my $cf = 'SYSTEMROOT';
 exists $ENV{$cf} and $env .= " -u$cf";
 my $cf = 'WINDIR';
 exists $ENV{$cf} and $env .= " -u$cf";
+# Likewise for these GNU/Hurd env vars
+my $cf = 'LD_ORIGIN_PATH';
+exists $ENV{$cf} and $env .= " -u$cf";
 
 my @Tests =
     (