From 3fe8f0d10ffa9a111efeca2617a8be4cbec54d10 Mon Sep 17 00:00:00 2001
From: Alex Kanitz <alexander.kanitz@unibas.ch>
Date: Fri, 14 Feb 2020 17:13:32 +0100
Subject: [PATCH] hot fix integration test script

---
 tests/test_integration_workflow/test.local.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test_integration_workflow/test.local.sh b/tests/test_integration_workflow/test.local.sh
index ac753e8..4a5da25 100755
--- a/tests/test_integration_workflow/test.local.sh
+++ b/tests/test_integration_workflow/test.local.sh
@@ -1,8 +1,7 @@
 #!/bin/bash
 
 # Tear down test environment
-#trap 'rm -rf logs/ results/ .snakemake/ && cd $user_dir' EXIT  # quoted command is exected after script exits, regardless of exit status
-trap 'cd $user_dir' EXIT  # quoted command is exected after script exits, regardless of exit status
+trap 'rm -rf logs/ results/ .snakemake/ && cd $user_dir' EXIT  # quoted command is exected after script exits, regardless of exit status
 
 # Set up test environment
 set -eo pipefail  # ensures that script exits at first command that exits with non-zero status
-- 
GitLab