Commit e1e360d2 authored by Sandipan Das's avatar Sandipan Das

Fix the lua standalone test

This fixes the subtest that checks if bcc-lua depends on
libluajit.
Signed-off-by: default avatarSandipan Das <sandipan@linux.ibm.com>
parent 27475049
......@@ -15,7 +15,8 @@ if [[ ! -x bcc-lua ]]; then
exit 0
fi
if ldd bcc-lua | grep -q luajit; then
LIBRARY=$(ldd bcc-lua | grep luajit)
if [ $? -ne 0 -o -z "$LIBRARY" ] ; then
fail "bcc-lua depends on libluajit"
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment