Ensure that redirecting input to stdin is no different than a normal file. Likewise outputting to stdout should be no different than outputting to a file.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test | ||
---|---|---|
3 ↗ | (On Diff #202743) | cmp ? and the same below |
Comment Actions
Neat! I didn't even know this was possible TBH
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test | ||
---|---|---|
1 ↗ | (On Diff #202866) | Instead of using cat you can just redirect the file in. |
Comment Actions
LGTM, with one nit.
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test | ||
---|---|---|
7 ↗ | (On Diff #202867) | Delete this blank line. There should be a single trailing new line character at the end of the last line in the file with content, but nothing after that. |