Fix: only one issue in test
[ctf-testsuite.git] / tests / 1.8 / regression / metadata / fail / test.sh
CommitLineData
33cfcaea
MD
1#!/bin/bash
2#
3# Copyright (C) - 2013 Christian Babeux <christian.babeux@efficios.com>
4#
5# This program is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License, version 2 only, as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12# more details.
13#
14# You should have received a copy of the GNU General Public License along with
15# this program; if not, write to the Free Software Foundation, Inc., 51
16# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18CURDIR=$(dirname $0)
19UTILS_DIR=$CURDIR/../../../../../utils/
20
21source $UTILS_DIR/tap/tap.sh
22
23NUM_TESTS=1
24
25plan_tests $NUM_TESTS
26
27if [ "x${CTF_READER_BIN}" == "x" ]; then
28 echo "Bail out! No CTF_READER_BIN specified"
29 exit 1
30fi
31
32$CTF_READER_BIN $CTF_READER_OPTS $1 >/dev/null 2>&1
33
34result=$?
35
36is $result 1 $1
This page took 0.023482 seconds and 4 git commands to generate.