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/t0001-whitespace.sh
2018-05-26 12:05:12 +02:00

17 lines
373 B
Bash
Executable File

#!/bin/bash
test_description="check parse"
. setup.sh
test_expect_success "Whitespace parse" "
export COVERAGE_NAME=whitespace_parser
cp ../.simplecov .
$COMMAND cfg_parser $DIR_TEST/whitespace.ini
export COVERAGE_NAME=whitespace_writer
$COMMAND cfg_writer > whitespace.out
test_cmp whitespace.out $DIR_TEST/whitespace.out.correct
"
test_done