File: skip_racy_test.patch

package info (click to toggle)
neon27 0.34.0-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 5,096 kB
  • sloc: ansic: 26,932; xml: 4,120; sh: 3,810; makefile: 611
file content (18 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: skip racy test
Author: James Clarke
Forwarded: no
Last-Update: 2022-09-12

---

--- a/test/redirect.c
+++ b/test/redirect.c
@@ -188,7 +188,7 @@ static int no_redirect(void)
 
     ONN("redirect non-NULL after non-redir req", ne_redirect_location(sess));
 
-    CALL(process_redir(sess, "/foo", &loc));
+    PRECOND(process_redir(sess, "/foo", &loc) == OK);
 
     return destroy_and_wait(sess);
 }