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

9 lines
276 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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