blob: ed6b1d823204b7fc34fa3e8b6bfc32a170fbd436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# $Id: libproxy_proxy_and_lib.test 386 2009-06-07 20:15:13Z dominique.leuenberger $
parser=src/bin/iniparse.test
conffile="test.d/test_libproxy_config_file.conf"
section=__DEFAULT__
key=key1
if [ -x "$parser" ]; then
result=$($parser $conffile $section $key)
fi
echo 'name="libproxy_iniparser_default_section"'
if [ "$result" == "key1 = default1" ]; then
echo pass=True
else
echo pass=False
echo "reason='iniparser returned $result'"
fi
|