Make the FreeBSD driver test more robust so it doesn't fail when there's a single...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 28 Jan 2011 18:28:30 +0000 (18:28 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 28 Jan 2011 18:28:30 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124494 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/freebsd.c

index 43c034b106b12f2d9b8379477237495cb59f2b23..4adfe88abbb386ea4fdff01d6f1ddea81def5257 100644 (file)
@@ -16,4 +16,4 @@
 // RUN: %clang -ccc-host-triple x86_64-pc-freebsd8 -m32 -print-search-dirs %s > %t
 // RUN: FileCheck --check-prefix=CHECK-LIB32PATHS < %t %s
 //
-// CHECK-LIB32PATHS: libraries: ={{.*}}:/usr/lib32
+// CHECK-LIB32PATHS: libraries: ={{.*:?}}/usr/lib32