#!/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=SECTION key=key2 if [ -x "$parser" ]; then result=$($parser $conffile $section $key) fi echo 'name="libproxy_iniparser_section"' if [ "$result" == "key2 = inivalue2" ]; then echo pass=True else echo pass=False echo "reason='iniparser returned $result'" fi