Skip to content

Commit f239925

Browse files
committed
American spelling: initialise-with-memory-snapshot -> initialize-with-memory-snapshot
All documentation and code has been updated to change the name of the goto-harness command-line option.
1 parent 38ff68f commit f239925

File tree

43 files changed

+43
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+43
-43
lines changed

doc/architectural/goto-harness.md

Lines changed: 1 addition & 1 deletion

doc/man/goto-harness.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ about the program state. Second, memory-snapshot harnesses, in which case
4343
Use \fIname\fR as the name of the harness function that is generated, i.e., the
4444
new entry point.
4545
.TP
46-
\fB\-\-harness\-type\fR [\fBcall-function\fR|\fBinitialise-with-memory-snapshot\fR]
46+
\fB\-\-harness\-type\fR [\fBcall-function\fR|\fBinitialize-with-memory-snapshot\fR]
4747
Select the type of harness to generate. In addition to options applicable to
4848
both harness generators, each of them also has dedicated options that are
4949
described below.

regression/goto-harness/havoc-global-int-01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0 --havoc-variables x
3+
--harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0 --havoc-variables x
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion x == 1: FAILURE

regression/goto-harness/havoc-global-int-02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-y-snapshot.json --initial-goto-location main:7 --havoc-variables y
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-y-snapshot.json --initial-goto-location main:7 --havoc-variables y
44
^\[main.assertion.1\] line \d+ assertion y \+ 2 > y: FAILURE$
55
^\[main.assertion.2\] line \d+ assertion 0: FAILURE$
66
^EXIT=10$

regression/goto-harness/havoc-global-int-03/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-source-location main.c:6 --havoc-variables x
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-source-location main.c:6 --havoc-variables x
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion x == 1: SUCCESS

regression/goto-harness/havoc-global-struct/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-struct-snapshot.json --initial-goto-location main:3 --havoc-variables simple
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-struct-snapshot.json --initial-goto-location main:3 --havoc-variables simple
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[main.assertion.1\] line \d+ assertion simple.j > simple.i: FAILURE$

regression/goto-harness/load-snapshot-recursive-static-global-int-01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:1
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:1
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/goto-harness/load-snapshot-static-global-array-01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot snapshot.json --initial-goto-location main:0
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot snapshot.json --initial-goto-location main:0
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/goto-harness/load-snapshot-static-global-int-01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/goto-harness/load-snapshot-static-global-int-02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion x == 1: SUCCESS

regression/goto-harness/load-snapshot-static-global-int-03/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:0
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/goto-harness/load-snapshot-static-global-int-04/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:1
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto-location main:1
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/goto-harness/load-snapshot-static-global-pointer-01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
harness.gb --harness-type initialise-with-memory-snapshot --memory-snapshot snapshot.json --initial-goto-location main:0
3+
harness.gb --harness-type initialize-with-memory-snapshot --memory-snapshot snapshot.json --initial-goto-location main:0
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/arrays_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
array,p,q --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
array,p,q --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion p == \&\(array\[1\]\): SUCCESS

regression/snapshot-harness/arrays_02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
p,q --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
p,q --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion p == q: SUCCESS

regression/snapshot-harness/dynamic-array-int-ordering/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
a,a1,iterator1,a2,a3,iterator2,a4,a5,iterator3,a6,a7,array2,a8 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
a,a1,iterator1,a2,a3,iterator2,a4,a5,iterator3,a6,a7,array2,a8 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*iterator1 == 1: SUCCESS

regression/snapshot-harness/dynamic-array-int/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
array,iterator1,iterator2,iterator3 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
array,iterator1,iterator2,iterator3 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*iterator1 == 1: SUCCESS

regression/snapshot-harness/function_pointer_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
fun_ptr --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
fun_ptr --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion fun_ptr == \&foo: SUCCESS

regression/snapshot-harness/function_pointer_02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
fun_ptr1,fun_ptr2 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
fun_ptr1,fun_ptr2 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion fun_ptr1 == \&plus: SUCCESS

regression/snapshot-harness/function_pointer_03/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
fun_array,fun_ptr1,fun_ptr2 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
fun_array,fun_ptr1,fun_ptr2 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion fun_ptr1 == \&plus: SUCCESS

regression/snapshot-harness/nondet_initialize_static_arrays/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
p --harness-type initialise-with-memory-snapshot --initial-goto-location main:4 --min-null-tree-depth 10 --max-nondet-tree-depth 4 --havoc-variables p
3+
p --harness-type initialize-with-memory-snapshot --initial-goto-location main:4 --min-null-tree-depth 10 --max-nondet-tree-depth 4 --havoc-variables p
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/pointer-function-parameters-struct-mutual-recursion/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
p --harness-type initialise-with-memory-snapshot --initial-goto-location main:4 --havoc-variables p --min-null-tree-depth 10 --max-nondet-tree-depth 3
3+
p --harness-type initialize-with-memory-snapshot --initial-goto-location main:4 --havoc-variables p --min-null-tree-depth 10 --max-nondet-tree-depth 3
44
^SIGNAL=0$
55
^EXIT=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/pointer-to-array-char/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
first,second,array_size --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
first,second,array_size --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^SIGNAL=0$
55
^EXIT=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/pointer-to-array-function-parameters-multi-arg-right/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
first,second,string_size,prefix --harness-type initialise-with-memory-snapshot --initial-goto-location main:4 --havoc-variables prefix --size-of-array prefix:prefix_size --max-array-size 5
3+
first,second,string_size,prefix --harness-type initialize-with-memory-snapshot --initial-goto-location main:4 --havoc-variables prefix --size-of-array prefix:prefix_size --max-array-size 5
44
^SIGNAL=0$
55
^EXIT=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/pointer-to-array-int/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
first,second,array_size,prefix,prefix_size --harness-type initialise-with-memory-snapshot --initial-goto-location main:4 --havoc-variables prefix --size-of-array prefix:prefix_size --max-array-size 4
3+
first,second,array_size,prefix,prefix_size --harness-type initialize-with-memory-snapshot --initial-goto-location main:4 --havoc-variables prefix --size-of-array prefix:prefix_size --max-array-size 4
44
^SIGNAL=0$
55
^EXIT=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/pointer_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
x,p --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
x,p --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*p == x: SUCCESS

regression/snapshot-harness/pointer_02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
x,p1,p2,p3 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
x,p1,p2,p3 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*p2 == x: SUCCESS

regression/snapshot-harness/pointer_03/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
x,p --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
x,p --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*\(int \*\)p == 3: SUCCESS

regression/snapshot-harness/pointer_04/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
x,p1,p2 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
x,p1,p2 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \&p1 == \*p2: SUCCESS

regression/snapshot-harness/pointer_05/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
x,p1,p2 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
x,p1,p2 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*p1 == \*p2: SUCCESS

regression/snapshot-harness/pointer_06/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
p,q --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
p,q --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion p == q: SUCCESS

regression/snapshot-harness/pointer_07/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
p1 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
p1 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion p1\[0\] == 1: SUCCESS

regression/snapshot-harness/pointer_to_struct_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
st,p,q --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
st,p,q --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion p == \&st: SUCCESS

regression/snapshot-harness/simple-source-location/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
global_var --harness-type initialise-with-memory-snapshot --initial-source-location main.c:20
3+
global_var --harness-type initialize-with-memory-snapshot --initial-source-location main.c:20
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[foo.assertion.1\] line [0-9]+ assertion global_var == 0: SUCCESS$

regression/snapshot-harness/static-array-char/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
tmp,first,second,array_size --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
tmp,first,second,array_size --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^SIGNAL=0$
55
^EXIT=0$
66
VERIFICATION SUCCESSFUL

regression/snapshot-harness/static-array-float/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FUTURE
22
main.c
3-
array,iterator1,iterator2 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
array,iterator1,iterator2 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*iterator1 \>= 1.10 \&\& \*iterator1 \<= 1.12: SUCCESS

regression/snapshot-harness/static-array-int/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
array,iterator1,iterator2 --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
array,iterator1,iterator2 --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=10$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion \*iterator1 == 1: SUCCESS

regression/snapshot-harness/structs_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
st,p --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
st,p --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion st.c1 \+ 2 == st.c2: SUCCESS

regression/snapshot-harness/structs_02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
st,p --harness-type initialise-with-memory-snapshot --initial-source-location main.c:27
3+
st,p --harness-type initialize-with-memory-snapshot --initial-source-location main.c:27
44
^EXIT=0$
55
^SIGNAL=0$
66
\[foo.assertion.1\] line [0-9]+ assertion st.c1 \+ 2 == st.c2: SUCCESS

regression/snapshot-harness/union_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
main.c
3-
un,ip,fp --harness-type initialise-with-memory-snapshot --initial-goto-location main:4
3+
un,ip,fp --harness-type initialize-with-memory-snapshot --initial-goto-location main:4
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main.assertion.1\] line [0-9]+ assertion ip == \&un.i: SUCCESS

src/goto-harness/goto_harness_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ goto_harness_generator_factoryt goto_harness_parse_optionst::make_factory()
256256
ui_message_handler);
257257
});
258258

259-
factory.register_generator("initialise-with-memory-snapshot", [this]() {
259+
factory.register_generator("initialize-with-memory-snapshot", [this]() {
260260
return util_make_unique<memory_snapshot_harness_generatort>(
261261
ui_message_handler);
262262
});

src/goto-harness/memory_snapshot_harness_generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void memory_snapshot_harness_generatort::validate_options(
111111
{
112112
throw invalid_command_line_argument_exceptiont(
113113
"option --memory_snapshot is required",
114-
"--harness-type initialise-with-memory-snapshot");
114+
"--harness-type initialize-with-memory-snapshot");
115115
}
116116

117117
if(initial_source_location_line.empty() == initial_goto_location_line.empty())

src/goto-harness/memory_snapshot_harness_generator_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Author: Diffblue Ltd.
3333
// clang-format off
3434
#define MEMORY_SNAPSHOT_HARNESS_GENERATOR_HELP \
3535
"memory snapshot harness generator (--harness-type\n" \
36-
" initialise-with-memory-snapshot)\n\n" \
36+
" initialize-with-memory-snapshot)\n\n" \
3737
"--" MEMORY_SNAPSHOT_HARNESS_SNAPSHOT_OPT " <file> initialise memory " \
3838
"from JSON memory snapshot\n" \
3939
"--" MEMORY_SNAPSHOT_HARNESS_INITIAL_GOTO_LOC_OPT " <func[:<n>]>\n" \

0 commit comments

Comments
 (0)