File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,12 @@ FOSSIL_TEST(c_test_hostinfo_get_architecture) {
6464 fossil_sys_hostinfo_architecture_t info ;
6565 int result = fossil_sys_hostinfo_get_architecture (& info );
6666 ASSUME_ITS_TRUE (result == 0 );
67- ASSUME_ITS_TRUE (strlen (info .arch_name ) > 0 );
67+ ASSUME_ITS_TRUE (strlen (info .architecture ) > 0 );
68+ ASSUME_ITS_TRUE (strlen (info .cpu ) > 0 );
69+ ASSUME_ITS_TRUE (strlen (info .cpu_cores ) > 0 );
70+ ASSUME_ITS_TRUE (strlen (info .cpu_threads ) > 0 );
71+ ASSUME_ITS_TRUE (strlen (info .cpu_frequency ) > 0 );
72+ ASSUME_ITS_TRUE (strlen (info .cpu_architecture ) > 0 );
6873}
6974
7075FOSSIL_TEST (c_test_hostinfo_get_endianness ) {
Original file line number Diff line number Diff line change @@ -92,7 +92,11 @@ FOSSIL_TEST(cpp_test_hostinfo_class_get_architecture) {
9292 fossil::sys::Hostinfo hostinfo;
9393 fossil_sys_hostinfo_architecture_t info = hostinfo.get_architecture ();
9494 ASSUME_ITS_TRUE (strlen (info.architecture ) > 0 );
95- ASSUME_ITS_TRUE (strlen (info.detail ) > 0 );
95+ ASSUME_ITS_TRUE (strlen (info.cpu ) > 0 );
96+ ASSUME_ITS_TRUE (strlen (info.cpu_cores ) > 0 );
97+ ASSUME_ITS_TRUE (strlen (info.cpu_threads ) > 0 );
98+ ASSUME_ITS_TRUE (strlen (info.cpu_frequency ) > 0 );
99+ ASSUME_ITS_TRUE (strlen (info.cpu_architecture ) > 0 );
96100}
97101
98102// * * * * * * * * * * * * * * * * * * * * * * * *
You can’t perform that action at this time.
0 commit comments