-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
Description
LLVM lit's internal shell displays an error while using the env command on no args:
******************** TEST 'LLVM :: tools/not/disable-symbolization.test' FAILED ********************
Exit Code: 127
Command Output (stdout):
--
# RUN: at line 4
not --crash env > /usr/local/google/home/harinidonthula/llvm-project/build/test/tools/not/Output/disable-symbolization.test.tmp || true
# executed command: not --crash env
# .---command stderr------------
# | Error: 'env' requires a subcommand
# `-----------------------------
# error: command failed with exit status: 127
This error occurs on this # RUN: not --crash env > %t || true in the not/disable-symbolization.test. The test includes a check for environment variables when env is run without arguments. However, the current behavior in the LLVM lit internal shell raises an error instead of displaying the environment variables. The test script is set to check for specific environment variables using the CHECK-DAG commands, expecting the env command to list them when executed without arguments.
file with failure:
- llvm/test/tools/not/disable-symbolization.test
keith