aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/external/ffspart/test/tests/05-hdr-overlap
blob: 39a1a1406f9797adedd34542758e7d2480380ea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /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"
if [ "$?" -ne 6 ] ; then
	fail_test
fi

sed -i "s|$DATA_DIR/$CUR_TEST.in|FILE|" "$STDERR_OUT"

diff_with_result

pass_test