1
0
mirror of https://github.com/albfan/bash-ini-parser.git synced 2025-04-19 13:22:14 +03:00
bash-ini-parser/t/t0003-sections.sh
2018-01-23 01:38:40 +01:00

17 lines
356 B
Bash
Executable File

#!/bin/bash
test_description="check sections"
. setup.sh
test_expect_success "Parse sections" "
export COVERAGE_NAME=sections_parser
cp ../.simplecov .
$COMMAND cfg_parser $DIR_TEST/sections.ini
export COVERAGE_NAME=sections_writer
$COMMAND cfg_writer > sections.out
diff $DIR_TEST/sections.out.correct sections.out
"
test_done