diff options
Diffstat (limited to 'tests/iscache-not-cache.script')
-rwxr-xr-x | tests/iscache-not-cache.script | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/iscache-not-cache.script b/tests/iscache-not-cache.script index acfc935..aacd621 100755 --- a/tests/iscache-not-cache.script +++ b/tests/iscache-not-cache.script @@ -14,7 +14,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -set -eu +set -u -! "$SRCDIR/cachedir" iscache "$DATADIR" +"$SRCDIR/cachedir" iscache "$DATADIR" > "$DATADIR/stdout" 2> "$DATADIR/stderr" +exit=$? +set -e + +sed "s:$DATADIR:TMP:g" "$DATADIR/stdout" +sed "s:$DATADIR:TMP:g" "$DATADIR/stderr" 1>&2 +exit $exit |