File: skip_racy_test.patch

package info (click to toggle)
neon27 0.36.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,836 kB
  • sloc: ansic: 27,754; xml: 4,634; makefile: 629; sh: 328
file content (18 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (3)
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);
 }