summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst5.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asm-tst5.c')
-rw-r--r--tests/asm-tst5.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/asm-tst5.c b/tests/asm-tst5.c
index 5a29b01c..4db6d1f5 100644
--- a/tests/asm-tst5.c
+++ b/tests/asm-tst5.c
@@ -105,7 +105,11 @@ main (void)
}
if (result == 0)
- result = WEXITSTATUS (system ("../src/elflint -q asm-tst5-out.o"));
+ {
+ char command[128];
+ sprintf(command, "..%csrc%celflint -q asm-tst5-out.o", DIRSEP, DIRSEP);
+ result = WEXITSTATUS (system (command));
+ }
/* We don't need the file anymore. */
unlink (fname);