// test.rs use crate::fs::MinixFileSystem; use crate::syscall; /// Test block will load raw binaries into memory to execute them. This function /// will load ELF files and try to execute them. pub fn test() { // The majority of the testing code needs to move into a system call (execv maybe?) MinixFileSystem::init(8); let path = "/helloworld.elf\0".as_bytes().as_ptr(); syscall::syscall_execv(path,0); println!(); }