Make sure all temporary files get created under %T.
authorArtem Belevich <tra@google.com>
Wed, 5 Aug 2015 22:54:36 +0000 (22:54 +0000)
committerArtem Belevich <tra@google.com>
Wed, 5 Aug 2015 22:54:36 +0000 (22:54 +0000)
llvm-svn: 244163

llvm/test/tools/dsymutil/fat-binary-output.test

index 29d4904..9a3d5ec 100644 (file)
@@ -1,4 +1,6 @@
-RUN: llvm-dsymutil -verbose -no-output %p/Inputs/fat-test.dylib -oso-prepend-path %p | FileCheck %s
+RUN: mkdir %T/Inputs
+RUN: cp %p/Inputs/fat-test.* %T/Inputs
+RUN: llvm-dsymutil -verbose -no-output %T/Inputs/fat-test.dylib -oso-prepend-path %T | FileCheck %s
 
 This test doesn't produce any filesytstem output, we just look at the verbose
 log output.