Skip to content

Commit 7b0ebe8

Browse files
committed
Rebaseline other.test_gen_struct_info. NFC
1 parent fd12890 commit 7b0ebe8

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

tests/reference_struct_info.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,48 +1410,48 @@
14101410
"sin6_scope_id": 24
14111411
},
14121412
"stat": {
1413-
"__size__": 112,
1414-
"__st_dev_padding": 4,
1415-
"__st_ino_truncated": 8,
1416-
"__st_rdev_padding": 32,
1413+
"__size__": 128,
1414+
"__st_dev_padding": 8,
1415+
"__st_ino_truncated": 12,
1416+
"__st_rdev_padding": 40,
14171417
"st_atim": {
14181418
"__size__": 16,
1419-
"tv_nsec": 64,
1420-
"tv_sec": 56
1419+
"tv_nsec": 80,
1420+
"tv_sec": 72
14211421
},
1422-
"st_blksize": 48,
1423-
"st_blocks": 52,
1422+
"st_blksize": 56,
1423+
"st_blocks": 64,
14241424
"st_ctim": {
14251425
"__size__": 16,
1426-
"tv_nsec": 96,
1427-
"tv_sec": 88
1426+
"tv_nsec": 112,
1427+
"tv_sec": 104
14281428
},
14291429
"st_dev": 0,
1430-
"st_gid": 24,
1431-
"st_ino": 104,
1432-
"st_mode": 12,
1430+
"st_gid": 28,
1431+
"st_ino": 120,
1432+
"st_mode": 16,
14331433
"st_mtim": {
14341434
"__size__": 16,
1435-
"tv_nsec": 80,
1436-
"tv_sec": 72
1435+
"tv_nsec": 96,
1436+
"tv_sec": 88
14371437
},
1438-
"st_nlink": 16,
1439-
"st_rdev": 28,
1440-
"st_size": 40,
1441-
"st_uid": 20
1438+
"st_nlink": 20,
1439+
"st_rdev": 32,
1440+
"st_size": 48,
1441+
"st_uid": 24
14421442
},
14431443
"statfs": {
1444-
"__size__": 64,
1445-
"f_bavail": 16,
1446-
"f_bfree": 12,
1444+
"__size__": 88,
1445+
"f_bavail": 24,
1446+
"f_bfree": 16,
14471447
"f_blocks": 8,
14481448
"f_bsize": 4,
1449-
"f_ffree": 24,
1450-
"f_files": 20,
1451-
"f_flags": 44,
1452-
"f_frsize": 40,
1453-
"f_fsid": 28,
1454-
"f_namelen": 36
1449+
"f_ffree": 40,
1450+
"f_files": 32,
1451+
"f_flags": 64,
1452+
"f_frsize": 60,
1453+
"f_fsid": 48,
1454+
"f_namelen": 56
14551455
},
14561456
"thread_profiler_block": {
14571457
"__size__": 104,

tests/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11171,7 +11171,7 @@ def test_split_main_module(self):
1117111171
self.assertIn('Hello from lib!', result)
1117211172

1117311173
def test_gen_struct_info(self):
11174-
# This tests is fragile and will need updating any time any of the refereced
11174+
# This tests is fragile and will need updating any time any of the referenced
1117511175
# structs or defines change. However its easy to rebaseline with
1117611176
# --rebaseline and it prevents regressions or unintended changes
1117711177
# to the output json.

0 commit comments

Comments
 (0)