X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=tests%2Ftest_example.sh;fp=tests%2Ftest_example.sh;h=5a1470f75575df731b7558221c99393360dc5752;hp=0000000000000000000000000000000000000000;hb=04ac66863a96d0c80bd00cc02bc3ab1e6aa8a620;hpb=05aefe25bacd1c22bf2d5cc935aa9d3d28f5d841 diff --git a/tests/test_example.sh b/tests/test_example.sh new file mode 100755 index 0000000..5a1470f --- /dev/null +++ b/tests/test_example.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 +test_program_subshell example