diff --git a/interpreter/cling/test/Driver/CommandHistory.C b/interpreter/cling/test/Driver/CommandHistory.C index aefda3ce02a41..e00071d64ecbc 100644 --- a/interpreter/cling/test/Driver/CommandHistory.C +++ b/interpreter/cling/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