diff options
Diffstat (limited to 'roms/skiboot/external/ffspart/test/tests/10-bad-input')
-rw-r--r-- | roms/skiboot/external/ffspart/test/tests/10-bad-input | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roms/skiboot/external/ffspart/test/tests/10-bad-input b/roms/skiboot/external/ffspart/test/tests/10-bad-input new file mode 100644 index 000000000..d7c433262 --- /dev/null +++ b/roms/skiboot/external/ffspart/test/tests/10-bad-input @@ -0,0 +1,13 @@ +#! /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 [ "$?" -eq 0 ] ; then + fail_test +fi + +sed -i "s|$DATA_DIR/$CUR_TEST.in|FILE|" "$STDERR_OUT" + +diff_with_result + +pass_test |