diff --git a/testing/btest/Baseline/language.sizeof/output b/testing/btest/Baseline/language.sizeof/output index 9828a521c1..cbb6540cbb 100644 --- a/testing/btest/Baseline/language.sizeof/output +++ b/testing/btest/Baseline/language.sizeof/output @@ -7,13 +7,13 @@ Expr: 18446744073709551612 Signed Expr: 4 Double -1.23: 1.230000 Enum ENUM3: 2 -Enum in record: 2 +Enum in record: 2 2 File 21.000000 Function add_interface: 2 Integer -10: 10 Interval -5.0 secs: 5.000000 Port 80/tcp: 65616 -Port in record: 65616 +Port in record: 65616 65616 Record [i=10, j=, k=]: 3 Set: 3 String 'Hello': 5 diff --git a/testing/btest/language/sizeof.zeek b/testing/btest/language/sizeof.zeek index edafc62464..75f0a2acec 100644 --- a/testing/btest/language/sizeof.zeek +++ b/testing/btest/language/sizeof.zeek @@ -91,7 +91,7 @@ print fmt("Double %s: %f", d, |d|); print fmt("Enum %s: %d", ENUM3, |ENUM3|); # Within a record, enum sizeof should still be ok -print fmt("Enum in record: %d", |with_enum$e|); +print fmt("Enum in record: %d %d", with_enum$e, |with_enum$e|); # Size of file: returns current file size. # Note that this is a double so that file sizes >> 4GB @@ -111,7 +111,7 @@ print fmt("Interval %s: %f", iv, |iv|); print fmt("Port %s: %d", p, |p|); # Within a record, port sizeof should still be ok -print fmt("Port in record: %d", |with_port$p|); +print fmt("Port in record: %d %d", with_port$p, |with_port$p|); # Size of record: returns number of fields (assigned + unassigned) print fmt("Record %s: %d", r, |r|);