summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-02-19 23:41:42 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-02-19 23:41:42 +0000
commitbdbbfdc8c2f60947dd149c59879af2e1fb56cd75 (patch)
tree450cc03c6e0b0ea033dbe1e3c78ca83b03562bae /compiler-rt/test
parent322eb7660ed5447dba8529deeb0366b5aa2d6ca1 (diff)
downloadbcm5719-llvm-bdbbfdc8c2f60947dd149c59879af2e1fb56cd75.tar.gz
bcm5719-llvm-bdbbfdc8c2f60947dd149c59879af2e1fb56cd75.zip
[msan] Fix name_to_handle_at test on overlayfs.
Udev supports name_to_handle_at. Use /dev/null instead of /bin/cat. llvm-svn: 354402
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/msan/Linux/name_to_handle_at.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/msan/Linux/name_to_handle_at.cc b/compiler-rt/test/msan/Linux/name_to_handle_at.cc
index 0ff8d982f4f..a8bc75fa2ae 100644
--- a/compiler-rt/test/msan/Linux/name_to_handle_at.cc
+++ b/compiler-rt/test/msan/Linux/name_to_handle_at.cc
@@ -14,7 +14,7 @@ int main(void) {
handle->handle_bytes = MAX_HANDLE_SZ;
int mount_id;
- int res = name_to_handle_at(AT_FDCWD, "/bin/cat", handle, &mount_id, 0);
+ int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0);
assert(!res);
__msan_check_mem_is_initialized(&mount_id, sizeof(mount_id));
__msan_check_mem_is_initialized(&handle->handle_bytes,
OpenPOWER on IntegriCloud