some fixes

This commit is contained in:
2022-10-28 02:09:10 +06:00
parent 88815452bc
commit 1632c78300
3 changed files with 16 additions and 7 deletions

View File

@@ -14,13 +14,15 @@ void test_all(){
kprintf("\e[96m--------------------------------------\e[0m\n");
}
int main(){
setlocale(LC_ALL, "en-US.Unicode");
if(!setlocale(LC_ALL, "C.UTF8"))
kprintf("\e[93msetlocale failed\n");
ktDescriptors_beginInit();
ktDescriptors_initKerepTypes();
ktDescriptors_endInit();
kprintf("\e[97mkerep tests are starting!\n");
optime("test_all",1,test_all());
//optime("test_all",1,test_all());
ktDescriptors_free();
kprintf("ъъъъ");
kprintf("\e[0m\n");
return 0;
}