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-parse.sh
2016-08-31 00:24:31 +02:00

20 lines
415 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
if [-z $COVERAGE ]
then
diff -u whitespace.out $DIR_TEST/whitespace.out.correct
fi
"
test_done