forked from autotrace/autotrace
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test to ensure autotrace doesn't have a wrong imput format hand…
…ling Closes issue autotrace#5. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
- Loading branch information
Showing
3 changed files
with
30,241 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
. "`dirname "$0"`/../functions" | ||
|
||
DIR=$1 | ||
|
||
autotrace -output-file $DIR/trace01.svg -output-format svg -report-progress -input-format BPM $DIR/trace01.bmp | ||
RESULT=$? | ||
|
||
if [ $RESULT -ne 0 ]; then | ||
rm -f $DIR/trace01.svg | ||
expected_fail | ||
else | ||
fail "Invalid options parsing" | ||
fi | ||
ok |
Binary file not shown.
Oops, something went wrong.