diff options
Diffstat (limited to 'roms/skiboot/external/ffspart/test/tests/06-small-flash')
-rw-r--r-- | roms/skiboot/external/ffspart/test/tests/06-small-flash | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roms/skiboot/external/ffspart/test/tests/06-small-flash b/roms/skiboot/external/ffspart/test/tests/06-small-flash new file mode 100644 index 000000000..7c41e33f0 --- /dev/null +++ b/roms/skiboot/external/ffspart/test/tests/06-small-flash @@ -0,0 +1,13 @@ +#! /bin/sh +touch $DATA_DIR/$CUR_TEST.gen + +run_binary "./ffspart" "-s 0x100 -c 4 -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 |