Debian Codegraph @

tests/pkgos_func/inifile_get/test_inifile_get

raw
1 #!/bin/sh
2
3 set -e
4
5 . ../../../pkgos_func
6
7 pkgos_inifile get example.ini DEFAULT lock_dir
8 if [ "${RET}" = "/var/lock" ] ; then
9 exit 0
10 else
11 echo "Could not get value from example.ini"
12 exit 1
13 fi