File: 0003-Compat-fix.patch

package info (click to toggle)
snakemake 7.32.4-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,832 kB
  • sloc: python: 32,846; javascript: 1,287; makefile: 247; sh: 163; ansic: 57; lisp: 9
file content (28 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (4)
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
28
From: Kevin Murray <kdmfoss@gmail.com>
Date: Fri, 2 Dec 2016 13:47:22 +1100
Subject: Compat fix

---
 tests/test_symlink_time_handling/Snakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/tests/test_symlink_time_handling/Snakefile
+++ b/tests/test_symlink_time_handling/Snakefile
@@ -42,7 +42,7 @@ if not os.path.exists("input_file"):
     shell("ln -s input_link output_link")
     shell("touch -h -t {} output_link".format(timestr(2)))
 
-    shell("ls -lR > /dev/stderr")
+    shell("ls -lR >&2")
 
 rule main:
     output: "time_diff.txt"
@@ -57,7 +57,7 @@ rule main:
             os.stat("input_file", follow_symlinks=False).st_mtime
         ) / (60*60) )
         # I expect the result "4 1"
-        shell("ls -lR > /dev/stderr")
+        shell("ls -lR >&2")
         shell("echo {time_diff1} {time_diff2} | tee time_diff.txt 2>&1")
 
 rule make_output: