15 lines · plain
1# Check handling of /dev/null in command line options2# On windows, it should be redirected to a temp file.3#4# RUN: %{python} %S/check_args.py --my_arg /dev/null | FileCheck %s --check-prefix=CHECK15# CHECK1: OK6 7# RUN: %{python} %S/check_args.py --my_arg=/dev/null | FileCheck %s --check-prefix=CHECK28# CHECK2: OK9 10# RUN: %{python} %S/check_args.py -a /dev/null | FileCheck %s --check-prefix=CHECK311# CHECK3: OK12 13# RUN: %{python} %S/check_args.py -a=/dev/null | FileCheck %s --check-prefix=CHECK414# CHECK4: OK15