summaryrefslogtreecommitdiff
path: root/test/Driver/warning-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/warning-options.cpp')
-rw-r--r--test/Driver/warning-options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Driver/warning-options.cpp b/test/Driver/warning-options.cpp
index 4d9e1f7466deb..7b9d4ab53a321 100644
--- a/test/Driver/warning-options.cpp
+++ b/test/Driver/warning-options.cpp
@@ -4,5 +4,5 @@
// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
// Check that -isysroot warns on nonexistent paths.
-// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
-// CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO'
+// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %T/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
+// CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options'