Fix passing arguments to tests

This commit is contained in:
Laurence Withers 2008-10-30 00:38:30 +00:00
parent ce5a97fd2e
commit ce9f7e654a
1 changed files with 1 additions and 6 deletions

View File

@ -21,12 +21,7 @@ run_test() {
return 1
fi
if [ $# -eq 0 ]
then
LD_LIBRARY_PATH="obj" ${EXE} || return 1
else
LD_LIBRARY_PATH="obj" ${EXE} "$*" || return 1
fi
LD_LIBRARY_PATH="obj" "${EXE}" "$@" || return 1
return 0
}