patchelf/tests/plain-run.sh

8 lines
120 B
Bash
Executable File

#! /bin/sh
LD_LIBRARY_PATH=. ./main
exitCode=$?
if test "$exitCode" != 46; then
echo "bad exit code!"
exit 1
fi