11 if [ "$verbose" = "1" ]; then
17 if [ "$1" = "-v" ]; then
21 for I in ${srcdir:-.}/bookmarks/fail-*.xbel; do
22 echo_v "Parsing $I, should fail"
23 ./bookmarkfile-test $I > /dev/null 2> $error_out && fail "failed to generate error on $I"
24 if test "$?" != "1"; then
25 fail "unexpected error on $I"
29 for I in ${srcdir:-.}/bookmarks/valid-*.xbel; do
30 echo_v "Parsing $I, should succeed"
31 ./bookmarkfile-test $I > /dev/null 2> $error_out || fail "failed on $I"
34 echo_v "All tests passed."