diff options
Diffstat (limited to 'tests/asm-tst6.c')
| -rw-r--r-- | tests/asm-tst6.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/asm-tst6.c b/tests/asm-tst6.c index bd9b362b..34b5bc6c 100644 --- a/tests/asm-tst6.c +++ b/tests/asm-tst6.c @@ -139,7 +139,11 @@ main (void) } if (result == 0) - result = WEXITSTATUS (system ("../src/elflint -q asm-tst6-out.o")); + { + char command[128]; + sprintf(command, "..%csrc%celflint -q asm-tst6-out.o", DIRSEP, DIRSEP); + result = WEXITSTATUS (system (command)); + } /* We don't need the file anymore. */ unlink (fname); |
