summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst4.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2012-01-18 13:57:08 -0800
committerRoland McGrath <[email protected]>2012-01-18 13:57:08 -0800
commitb8ff18e0e8b8631fcc449cbd5a1ceba3f4a73e0d (patch)
tree126119d577722d61797647c053591c59b0b4d18d /tests/asm-tst4.c
parenta065c4b6e743968751c74f3100fc1c6af89db483 (diff)
Don't set LD_LIBRARY_PATH explicitly for command run inside test case.
Diffstat (limited to 'tests/asm-tst4.c')
-rw-r--r--tests/asm-tst4.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/asm-tst4.c b/tests/asm-tst4.c
index 54d054c2..19cceb59 100644
--- a/tests/asm-tst4.c
+++ b/tests/asm-tst4.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2004, 2005 Red Hat, Inc.
+/* Copyright (C) 2002-2012 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 2002.
@@ -101,8 +101,7 @@ main (void)
}
if (result == 0)
- result = WEXITSTATUS (system ("\
-env LD_LIBRARY_PATH=../libelf ../src/elflint -q asm-tst4-out.o"));
+ result = WEXITSTATUS (system ("../src/elflint -q asm-tst4-out.o"));
/* We don't need the file anymore. */
unlink (fname);