Browse Source

testc: Don't access() shared objects because it can be found using LD_LIBRARY_PATH

Serj Kalichev 4 years ago
parent
commit
c64e6b76df
1 changed files with 0 additions and 6 deletions
  1. 0 6
      testc/testc.c

+ 0 - 6
testc/testc.c

@@ -96,12 +96,6 @@ int main(int argc, char *argv[]) {
 
 		printf("--------------------------------------------------------------------------------\n");
 
-		if (access(so, R_OK) < 0) {
-			fprintf(stderr, "Error: Can't read module \"%s\"... Skipped\n", so);
-			total_errors++;
-			continue;
-		}
-
 		so_handle = dlopen(so, RTLD_LAZY | RTLD_LOCAL);
 		if (!so_handle) {
 			fprintf(stderr, "Error: Can't open module \"%s\"... Skipped\n", so);