1
0
mirror of https://github.com/albfan/bash-ini-parser.git synced 2025-10-17 16:11:16 +03:00
Files
bash-ini-parser/t/t0004-comments.sh
2018-01-22 22:58:37 +01:00

20 lines
339 B
Bash
Executable File

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