Skip to content
Snippets Groups Projects
Commit fac6cc37 authored by Jeremy Mathews's avatar Jeremy Mathews
Browse files

double quote?

parent dc2d6631
Branches
Tags
4 merge requests!37v0.0.1,!11Develop,!6Develop,!5Resolve "Add Unit Tests for splitData and getData processes"
Pipeline #5188 passed with stage
in 10 seconds
......@@ -12,6 +12,6 @@ unit:
stage: unit
script:
- singularity run 'docker://bicf/bdbag:1.0' bdbag --materialize ./test_data/File_Q-Y53P.zip
- if [ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate completeness ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != 'The directory ./test_data/File_Q-Y53P is a valid bag structure' ]; then exit 21; fi;
- if [ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate full ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != 'Bag ./test_data/File_Q-Y53P is valid' ]; then exit 21; fi;
- if [ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate completeness ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != "The directory ./test_data/File_Q-Y53P is a valid bag structure" ]; then exit 21; fi;
- if [ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate full ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != "Bag ./test_data/File_Q-Y53P is valid" ]; then exit 21; fi;
- if [ $(md5sum test_data/File_Q-Y53P/data/assets/Study/Q-Y4H0/Experiment/Q-Y4BY/Replicate/Q-Y5F8/hMARIS_SIX2+_RiboDep#1.gene.rpkm.txt | awk '{ print $1 }') != $(cat test_data/File_Q-Y53P/data/File.csv | cut -d ',' -f10 | tail -1) ]; then exit 21; fi;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment