-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type { %S*, int* }" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[12].bc
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "%S = type { %S*, i32* }" | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out1.bc %t.out2.bc