Package: sra-sdk / 2.9.3+dfsg-1

drop_tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Drop test that should not run as root
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 19 Oct 2017 23:58:30 +0200

Index: sra-sdk/test/vdb-config/Makefile
===================================================================
--- sra-sdk.orig/test/vdb-config/Makefile
+++ sra-sdk/test/vdb-config/Makefile
@@ -31,5 +31,4 @@ runtests: test-vdb-config
 
 test-vdb-config:
 	@ printf "Testing exit code vdb-config of vdb-config... "
-	@ PATH=$(BINDIR):$(PATH) ; ./test-vdb-config.pl
-	@ echo OK
+	@ echo "This test is droped since the executable should not be run as root"
Index: sra-sdk/test/Makefile
===================================================================
--- sra-sdk.orig/test/Makefile
+++ sra-sdk/test/Makefile
@@ -37,7 +37,6 @@ include $(TOP)/build/Makefile.config
 SUBDIRS =    \
 	read-filter-redact \
 	prefetch        \
-	dump-test       \
 	vdb-config      \
 	align-info      \
 	align-cache     \