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/t0004-comments.sh
2018-01-27 09:45:20 +01:00

18 lines
360 B
Bash
Executable File

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