Skip to content

Commit ff341af

Browse files
committed
Fix test on Linux with linker script
1 parent 6ddcecf commit ff341af

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

libcxx/test/libcxx/vendor/llvm/system-install-properties-linux.sh.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@
2121
// RUN: stat "%{lib-dir}/libc++.so.1.0"
2222
// RUN: stat "%{lib-dir}/libc++experimental.a"
2323

24-
// Make sure we install a symlink from libc++.so to libc++.so.1.0.
25-
//
26-
// RUN: stat "%{lib-dir}/libc++.so"
27-
// RUN: readlink "%{lib-dir}/libc++.so" | grep "libc++.so.1.0"
24+
// Make sure we install a symlink from libc++.so.1 to libc++.so.1.0.
2825
//
2926
// RUN: stat "%{lib-dir}/libc++.so.1"
3027
// RUN: readlink "%{lib-dir}/libc++.so.1" | grep "libc++.so.1.0"
28+
29+
// Make sure we install libc++.so in the right location. That may be a symlink or
30+
// a linker script, so we don't check anything specific about that file.
31+
//
32+
// RUN: stat "%{lib-dir}/libc++.so"

0 commit comments

Comments
 (0)