diff --git a/compiler-rt/test/profile/Posix/gcov-execlp.c b/compiler-rt/test/profile/Posix/gcov-execlp.c index 0b70e9c69790..362f59516d21 100644 --- a/compiler-rt/test/profile/Posix/gcov-execlp.c +++ b/compiler-rt/test/profile/Posix/gcov-execlp.c @@ -18,10 +18,10 @@ void func2(void) {} // CHECK-NEXT: #####: [[#@LINE]]: int main(void) { // CHECK-NEXT: 1: [[#@LINE]]: func1(); // CHECK-NEXT: 1: [[#@LINE]]: #ifdef EXECVP - char *argv[] = {"ls", "-l", "-h", (char *)0}; + char *argv[] = {"ls", "-l", (char *)0}; execvp("ls", argv); // EXECVP: 1: [[#@LINE]]: execvp #else - execlp("ls", "-l", "-h", (char *)0); // EXECLP: 1: [[#@LINE]]: execlp + execlp("ls", "-l", (char *)0); // EXECLP: 1: [[#@LINE]]: execlp #endif func2(); // CHECK: #####: [[#@LINE]]: func2 return 0; // CHECK-NEXT: #####: [[#@LINE]]: