From b997db602e15b60c68c0f7a99db74b5d2419a85c Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 22 Jul 2015 10:05:32 +1000 Subject: [PATCH] Cleanup of ini test-case Various cleanup to this file. Firstly create a temporary space to test, rather than working in the source directory. We have "assert_equal" which simplifies a lot. Add "assert_empty" that is used in a couple of tests too. Remove a couple of duplicate tests. Change-Id: I7fd476ed63026e67d66a8ac2891b2e4a6687d09c --- tests/test_ini_config.sh | 234 +++++++++++---------------------------- tests/unittest.sh | 23 +++- 2 files changed, 87 insertions(+), 170 deletions(-) diff --git a/tests/test_ini_config.sh b/tests/test_ini_config.sh index b2529ac4c9..3aef6f39bd 100755 --- a/tests/test_ini_config.sh +++ b/tests/test_ini_config.sh @@ -13,7 +13,13 @@ set -e echo "Testing INI functions" -cat >test.ini <${TEST_INI} <