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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244163 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 29d49041453e029043870320a94b3b7a985e128d..9a3d5ec14b1ce0c4ea58eb8d91caf96a4ced190a 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.