8 lines · plain
1# Python on an empty file will always succeed as interesting2# RUN: touch %t3 4# Fail on attempt to write output to a directory5# RUN: not llvm-reduce --delta-passes=instructions -o %p/Inputs --test %python --test-arg %t %p/Inputs/test-output-format.ll 2>&1 | FileCheck -DMSG=%errc_EISDIR %s6 7# CHECK: error: opening output file: [[MSG]]8