summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Linux
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-04-04 21:42:59 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-04-04 21:42:59 +0000
commit3608344405021595b4cf343be74770dabfad4d98 (patch)
tree4142acb48a9f93ca3fcf34928ffb49990992e72d /test/asan/TestCases/Linux
parentef626e4f64cf58956952dc3428fdc4cba8f09ae4 (diff)
Don't remove the cwd.
This works with a regular shell since the kernel can keep track of a deleted cwd. Since we just keep a path string, the following subprocess invocations fail. I think this would also fail on windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/Linux')
-rw-r--r--test/asan/TestCases/Linux/coverage-missing.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/asan/TestCases/Linux/coverage-missing.cc b/test/asan/TestCases/Linux/coverage-missing.cc
index 2bb103d82..16c05b256 100644
--- a/test/asan/TestCases/Linux/coverage-missing.cc
+++ b/test/asan/TestCases/Linux/coverage-missing.cc
@@ -30,6 +30,7 @@
// RUN: %clangxx_asan -fsanitize-coverage=func %s -o %dynamiclib -DFOOBAR -shared -fPIC
// RUN: %clangxx_asan -fsanitize-coverage=func %s %dynamiclib -o %t -DMAIN
// RUN: export LIBNAME=`basename %dynamiclib`
+// RUN: cd ..
// RUN: rm -rf %T/coverage-missing
// RUN: mkdir -p %T/coverage-missing
// RUN: cd %T/coverage-missing