From cbd1dcf8da8ee3ff6672eecabba2cdfa1a0984df Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Tue, 5 Dec 2023 15:10:46 +0100 Subject: [PATCH] test/Driver/CommandHistory.C: `env -u` also works on macOS. --- test/Driver/CommandHistory.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Driver/CommandHistory.C b/test/Driver/CommandHistory.C index aefda3ce..e00071d6 100644 --- a/test/Driver/CommandHistory.C +++ b/test/Driver/CommandHistory.C @@ -8,7 +8,7 @@ // clang-format off // RUN: %rm /tmp/__testing_cling_history -// RUN: cat %s | env --unset=CLING_NOHISTORY CLING_HISTSIZE=8 CLING_HISTFILE="/tmp/__testing_cling_history" %cling - 2>&1 +// RUN: cat %s | env -u CLING_NOHISTORY CLING_HISTSIZE=8 CLING_HISTFILE="/tmp/__testing_cling_history" %cling - 2>&1 // RUN: diff /tmp/__testing_cling_history "%S/Inputs/cling_history" // UNSUPPORTED: system-windows