☰
Debian Codegraph
@
146
144
/
/
tests
/
pkgos_func
/
inifile_get
/
test_inifile_get
☽
☼
tests/pkgos_func/inifile_get/test_inifile_get
code
plain
raw
Apache-2
2012-2022, Thomas Goirand <
[email protected]
>; 2012, Roland Mas <
[email protected]
>; 2017-2019, Michal Arbet <
[email protected]
>; 2016-2020, Ondřej Nový <
[email protected]
>
debian/copyright
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