Skip to content

Commit 742fc03

Browse files
committed
Simplify change by bypassing temporaroy string 'x_str'.
1 parent 44a82c2 commit 742fc03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/test/fuzzer/focus-function.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ FOCUS_F0: INFO: 0/1 inputs touch the focus function
2121
RUN: rm -rf %t-corpus
2222
RUN: mkdir %t-corpus
2323
# ABC triggers the focus function, others don't.
24-
RUN: %python -c 'x_str = "ABC" + "x" * 2048; print(x_str)' > %t-corpus/ABC
25-
RUN: %python -c 'x_str = "AXY" + "x" * 2048; print(x_str)' > %t-corpus/AXY
26-
RUN: %python -c 'x_str = "ABX" + "x" * 2048; print(x_str)' > %t-corpus/ABX
24+
RUN: %python -c 'print("ABC" + "x" * 2048)' > %t-corpus/ABC
25+
RUN: %python -c 'print("AXY" + "x" * 2048)' > %t-corpus/AXY
26+
RUN: %python -c 'print("ABX" + "x" * 2048)' > %t-corpus/ABX
2727

2828
RUN: %run %t-exe -runs=10000 -focus_function=f0 %t-corpus 2>&1 | FileCheck %s --check-prefix=CORPUS_1_3
2929
CORPUS_1_3: INFO: 1/3 inputs touch the focus function

0 commit comments

Comments
 (0)