1
0
mirror of https://github.com/albfan/bash-ini-parser.git synced 2025-08-10 16:22:59 +03:00
Files
bash-ini-parser/t/t0003-sections.sh
albfan f39fc72170 test sections
closes #4
2015-05-17 10:47:57 +02:00

20 lines
339 B
Bash
Executable File

#!/bin/sh
SHARNESS_TEST_EXTENSION="sh"
test_description="check sections"
. sharness/sharness.sh
. ../../bash-ini-parser
DIR_TEST=$SHARNESS_TEST_DIRECTORY/t0003
test_expect_success "Parse sections" "
cfg_parser $DIR_TEST/sections.ini
cfg_writer > sections.out
diff $DIR_TEST/sections.out.correct sections.out
"
test_done