ELF2: Unbreak buildbot.

Subshell didn't work on Windows.

llvm-svn: 248840
This commit is contained in:
Rui Ueyama
2015-09-29 22:46:52 +00:00
parent 91b0ab9172
commit a7e628ff10
2 changed files with 15 additions and 5 deletions

View File

@@ -5,11 +5,6 @@
# RUN: llvm-readobj -file-headers -sections -program-headers -symbols %t2 \
# RUN: | FileCheck %s
# RUN: mkdir -p %t.dir
# RUN: (cd %t.dir && lld -flavor gnu2 %t)
# RUN: llvm-readobj -file-headers -sections -program-headers -symbols \
# RUN: %t.dir/a.out | FileCheck %s
# exits with return code 42 on linux
.globl _start;
_start:

View File

@@ -0,0 +1,15 @@
# REQUIRES: x86
# Verify that default output filename is a.out.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir
# RUN: not test -e a.out
# RUN: lld -flavor gnu2 %t
# RUN: test -e a.out
.globl _start;
_start:
mov $60, %rax
mov $42, %rdi
syscall