test/Driver/CommandHistory.C: env -u also works on macOS.

This commit is contained in:
Axel Naumann 2023-12-05 15:10:46 +01:00 committed by jenkins
parent 93153b9971
commit cbd1dcf8da

View File

@ -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