[med-svn] [Git][med-team/simka][master] Explicitly define test command to prevent (sid) illegal operation

Shayan Doust gitlab at salsa.debian.org
Mon Sep 16 15:37:29 BST 2019



Shayan Doust pushed to branch master at Debian Med / simka


Commits:
57e30f38 by Shayan Doust at 2019-09-16T14:37:00Z
Explicitly define test command to prevent (sid) illegal operation

- - - - -


1 changed file:

- debian/patches/fix_test_path.patch


Changes:

=====================================
debian/patches/fix_test_path.patch
=====================================
@@ -5,8 +5,8 @@ Last-Update: 2019-09-13
 
 Index: simka/tests/simkaMin/test_simkaMin.py
 ===================================================================
---- simka.orig/tests/simkaMin/test_simkaMin.py	2019-09-13 10:16:10.865442411 +0100
-+++ simka/tests/simkaMin/test_simkaMin.py	2019-09-13 10:16:10.861442427 +0100
+--- simka.orig/tests/simkaMin/test_simkaMin.py	2019-09-16 15:35:57.745165516 +0100
++++ simka/tests/simkaMin/test_simkaMin.py	2019-09-16 15:35:57.741165482 +0100
 @@ -16,28 +16,28 @@
  
  def create_command(scriptFilename, outputPrefix, k, filter, nb_reads, nb_kmers, nb_cores, input_filename):
@@ -133,8 +133,8 @@ Index: simka/tests/simkaMin/test_simkaMin.py
              if ret != 0: exit(1)
 Index: simka/tests/simple_test.py
 ===================================================================
---- simka.orig/tests/simple_test.py	2019-09-13 10:16:10.865442411 +0100
-+++ simka/tests/simple_test.py	2019-09-13 10:16:58.213252568 +0100
+--- simka.orig/tests/simple_test.py	2019-09-16 15:35:57.745165516 +0100
++++ simka/tests/simple_test.py	2019-09-16 15:35:57.741165482 +0100
 @@ -91,7 +91,7 @@
  #test k=31 t=0
  clear()
@@ -185,9 +185,9 @@ Index: simka/tests/simple_test.py
  
 Index: simka/example/simple_test.sh
 ===================================================================
---- simka.orig/example/simple_test.sh	2019-09-13 10:16:10.865442411 +0100
-+++ simka/example/simple_test.sh	2019-09-13 10:16:10.861442427 +0100
-@@ -3,19 +3,19 @@
+--- simka.orig/example/simple_test.sh	2019-09-16 15:35:57.745165516 +0100
++++ simka/example/simple_test.sh	2019-09-16 15:36:47.117582577 +0100
+@@ -3,23 +3,23 @@
  
  # look for simka binary. In devel mode, it's in ../build/bin directory.
  # In production mode, it's in ../bin directory.
@@ -219,3 +219,8 @@ Index: simka/example/simple_test.sh
  #printf "$command\n\n"
  
  # DO NOT add lines between '$command' exec and 'var...' !
+-$command
++simka -in simka_input.txt -out ./simka_results/ -out-tmp ./simka_temp_output
+ var=$?
+ 
+ printf "\n\n\n"



View it on GitLab: https://salsa.debian.org/med-team/simka/commit/57e30f38ec8d9c204be9d03282a81a0c345bd881

-- 
View it on GitLab: https://salsa.debian.org/med-team/simka/commit/57e30f38ec8d9c204be9d03282a81a0c345bd881
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190916/259543cf/attachment-0001.html>


More information about the debian-med-commit mailing list