llvm-for-llvmta/test/tools/split-file/output-is-special.test

9 lines
276 B
Plaintext

# UNSUPPORTED: system-windows
# REQUIRES: shell
## Don't delete the output if it is special, otherwise root may accidentally
## remove important special files.
# RUN: not split-file %s /dev/null 2>&1 | FileCheck %s
# CHECK: error: /dev/null: output cannot be a special file