summaryrefslogtreecommitdiffstats
path: root/external/ffspart/test/tests/16-create-blank
blob: 02640e4e6f71abb3513935ae81a6ce67f1834c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

touch $DATA_DIR/$CUR_TEST.gen

run_binary "./ffspart" "-s 0x100 -c 10 -i $DATA_DIR/$CUR_TEST.in -p $DATA_DIR/$CUR_TEST.gen --allow_empty"
if [ "$?" -ne 0 ] ; then
	fail_test
fi

if ! cmp $DATA_DIR/$CUR_TEST.out $DATA_DIR/$CUR_TEST.gen ; then
	echo "Output differs"
	fail_test
fi

pass_test
OpenPOWER on IntegriCloud