X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Ftest_error.sh;fp=tests%2Ftest_error.sh;h=f01c11b88e19e63e7fc7efd9903b0c47827a10f2;hb=04ac66863a96d0c80bd00cc02bc3ab1e6aa8a620;hp=0000000000000000000000000000000000000000;hpb=05aefe25bacd1c22bf2d5cc935aa9d3d28f5d841;p=coloredstderr%2Fcoloredstderr.git diff --git a/tests/test_error.sh b/tests/test_error.sh new file mode 100755 index 0000000..f01c11b --- /dev/null +++ b/tests/test_error.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +# Copyright (C) 2013 Simon Ruderich +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +test "x$srcdir" = x && srcdir=. +. "$srcdir/lib.sh" + +test_program example_error +test_program_subshell example_error