[compiler-rt] [test] env -u is not supported on AIX, use `unset` instead (PR #111736)
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 13:19:10 PDT 2024
================
@@ -12,7 +12,8 @@
// RUN: llvm-profdata show ./raw2.profraw | FileCheck %s -check-prefix TMPDIR
//
// Check that we fall back to the default path if TMPDIR is missing.
-// RUN: env -u TMPDIR LLVM_PROFILE_FILE="%%t/raw3.profraw" %run %t/binary 2>&1 | FileCheck %s -check-prefix MISSING
+// RUN: unset TMPDIR
----------------
w2yehia wrote:
You're right, `unset` does not seem to be implemented in the built-in shell,
and since windows doesn't have unset, I'm making this an aix-only change.
Thanks.
https://github.com/llvm/llvm-project/pull/111736
More information about the llvm-commits
mailing list