You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
423 B

## Test that -o sets the output file name.
# RUN: rm -f %t
# RUN: yaml2obj %s -o %t
# RUN: ls %t
# RUN: rm -f %t
# RUN: yaml2obj %s -o%t
# RUN: ls %t
# RUN: not yaml2obj -o %p/path/does/not/exist 2>&1 | FileCheck %s
# CHECK: yaml2obj: error: failed to open '{{.*}}/path/does/not/exist': {{[Nn]}}o such file or directory
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_NONE