Summary: This reverts commit r328596. Checking if the arguments are strings before testing if they contain "/dev/null". Reviewers: rnk Reviewed By: rnk Subscribers: delcypher, llvm-commits Differential Revision: https://reviews.llvm.org/D44914 llvm-svn: 328603
15 lines
521 B
Plaintext
15 lines
521 B
Plaintext
# Check handling of /dev/null in command line options
|
|
# On windows, it should be redirected to a temp file.
|
|
#
|
|
# RUN: "%{python}" %S/check_args.py --my_arg /dev/null | FileCheck %s --check-prefix=CHECK1
|
|
# CHECK1: OK
|
|
|
|
# RUN: "%{python}" %S/check_args.py --my_arg=/dev/null | FileCheck %s --check-prefix=CHECK2
|
|
# CHECK2: OK
|
|
|
|
# RUN: "%{python}" %S/check_args.py -a /dev/null | FileCheck %s --check-prefix=CHECK3
|
|
# CHECK3: OK
|
|
|
|
# RUN: "%{python}" %S/check_args.py -a=/dev/null | FileCheck %s --check-prefix=CHECK4
|
|
# CHECK4: OK
|