File: copy-samtools-test-properly.patch

package info (click to toggle)
dwgsim 0.1.14-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,608 kB
  • sloc: ansic: 3,540; python: 334; perl: 243; xml: 194; makefile: 39; sh: 34
file content (19 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Copoy the right files from samtools to run test
Author: Nilesh Patra <nilesh@debian.org>
Forwarded: not-needed
Last-Update: 2022-02-17
--- a/testdata/test.sh
+++ b/testdata/test.sh
@@ -14,8 +14,11 @@
 
 mkdir tmp
 
+# Copy the test data needed
+cp /usr/share/doc/samtools/examples/ex1.fa .
+
 # Generate the new test data
-./dwgsim -z 13 -N 10000 samtools/examples/ex1.fa tmp/ex1.test
+./dwgsim -z 13 -N 10000 ex1.fa tmp/ex1.test
 
 # Test the differences
 for GZFILE in $(ls -1 tmp/ex1.test*gz)