| 1 | #!/bin/dash |
| 2 | # autopkgtest check: Build and run a program against glib, to verify that the |
| 3 | # headers and pkg-config file are installed correctly |
| 4 | # Author: Kun-Hung Tsai (蔡昆宏) <[email protected]> |
| 5 | |
| 6 | set -e |
| 7 | |
| 8 | echo "run: Check if library file exist" |
| 9 | if /sbin/ldconfig -p | grep libmodbus |
| 10 | then |
| 11 | echo "run: Found libary" |
| 12 | else |
| 13 | echo "run: Fail" |
| 14 | exit 1 |
| 15 | fi |