#!/bin/sh

BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' )
TARGET_VERSION='2.3.2'

if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ]
then
    echo Test skipped - test only compatible with Open Babel version $TARGET_VERSION
    exit 1
fi
