From 9e5b89aeaadc97de3b06ed3bb281582f4707fdf4 Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Sat, 31 Oct 2020 17:06:58 +0100 Subject: [PATCH] chore: Ensure cleanup always happens. --- test/system/run-solid-test-suite.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/system/run-solid-test-suite.sh b/test/system/run-solid-test-suite.sh index a42e3422e..311d10797 100755 --- a/test/system/run-solid-test-suite.sh +++ b/test/system/run-solid-test-suite.sh @@ -1,5 +1,4 @@ -#!/bin/bash -set -e +#!/usr/bin/env bash # Start server npm start & @@ -7,7 +6,6 @@ PID=$! # Initialize tests pushd test/tmp -rm -rf solid-crud-tests git clone https://github.com/solid/solid-crud-tests cd solid-crud-tests git checkout v0.1.1 @@ -19,7 +17,9 @@ export ALICE_WEBID_DOC=$SERVER_ROOT/profile.ttl export ALICE_WEBID=$ALICE_WEBID#me curl -X PUT $ALICE_WEBID_DOC -d '<#me> .' npm run jest +RESULT=$? # Clean up kill $PID popd +exit $RESULT