Skip to content

Commit bf4dadc

Browse files
committed
Fix scudo test
Scudo crashes when it trips. Pass the `--crash` flag to `not` to handle it properly.
1 parent b0d3b39 commit bf4dadc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sanitizers/scudo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-swiftc_driver %s -g -sanitize=scudo -o %t_scudo-binary
2-
// RUN: not %target-run %t_scudo-binary 2>&1 | %FileCheck %s
2+
// RUN: not --crash %target-run %t_scudo-binary 2>&1 | %FileCheck %s
33
// REQUIRES: executable_test
44
// REQUIRES: OS=linux-gnu
55
// REQUIRES: scudo_runtime

0 commit comments

Comments
 (0)