[PATCH] D63094: [compiler-rt] Fix name_to_handle_at.cc test on Overlay2

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 07:16:42 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363167: [compiler-rt] Fix name_to_handle_at.cc test on Overlay2 (for Docker) (authored by amyk, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D63094?vs=203888&id=204281#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63094/new/

https://reviews.llvm.org/D63094

Files:
  compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc


Index: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc
===================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc
@@ -13,7 +13,7 @@
       malloc(sizeof(*handle) + MAX_HANDLE_SZ));
 
   handle->handle_bytes = MAX_HANDLE_SZ;
-  int res = name_to_handle_at(AT_FDCWD, argv[0], handle, &mount_id, 0);
+  int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0);
   assert(!res);
 
   free(handle);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63094.204281.patch
Type: text/x-patch
Size: 610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190612/a0f9da40/attachment.bin>


More information about the llvm-commits mailing list