You've already forked bash-ini-parser
mirror of
https://github.com/albfan/bash-ini-parser.git
synced 2025-08-10 16:22:59 +03:00
20 lines
339 B
Bash
Executable File
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
|