From 2433679cae4a1762db0406e37a6a2d2a9663b235 Mon Sep 17 00:00:00 2001 From: Hendrik Cannoodt Date: Wed, 3 Apr 2024 17:12:19 +0200 Subject: [PATCH] Fix missing slash in path construction (#34) * Fix missing slash in path construction * add one more --------- Co-authored-by: Robrecht Cannoodt --- src/gffread/test.sh | 8 ++++---- src/samtools/samtools_flagstat/test.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gffread/test.sh b/src/gffread/test.sh index 6d38012b..326fce50 100755 --- a/src/gffread/test.sh +++ b/src/gffread/test.sh @@ -5,9 +5,9 @@ set -e -test_output_dir="${meta_resources_dir}test_data/test_output" -test_dir="${meta_resources_dir}test_data" -expected_output_dir="${meta_resources_dir}test_data/output" +test_output_dir="${meta_resources_dir}/test_data/test_output" +test_dir="${meta_resources_dir}/test_data" +expected_output_dir="${meta_resources_dir}/test_data/output" mkdir -p "$test_output_dir" @@ -108,4 +108,4 @@ rm -r "$test_output_dir" echo "> All tests successful" -exit 0 \ No newline at end of file +exit 0 diff --git a/src/samtools/samtools_flagstat/test.sh b/src/samtools/samtools_flagstat/test.sh index ec5a5b07..647c64af 100644 --- a/src/samtools/samtools_flagstat/test.sh +++ b/src/samtools/samtools_flagstat/test.sh @@ -1,6 +1,6 @@ #!/bin/bash -test_dir="${meta_resources_dir}test_data" +test_dir="${meta_resources_dir}/test_data" echo ">>> Testing $meta_functionality_name" "$meta_executable" \