Add missing test script

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-04-11 12:11:51 +07:00
parent 876e35d910
commit dc50d7af32

12
test-script/libtest.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# Simple script to check broken or missing libraries
# Willy Sudiarto Raharjo 2014
for L in `ls /usr/bin`; do
if [ -f /usr/bin/$L ]; then
ldd /usr/bin/$L | grep -i "not found"
if [ $? -eq 0 ]; then
echo $L;
fi
fi
done