mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Unfortunately, until we have a shell, I have to keep hard coding the path.
This commit is contained in:
parent
f11f0e9f1f
commit
2acb967a46
@ -6,7 +6,7 @@ use crate::syscall;
|
|||||||
pub fn test() {
|
pub fn test() {
|
||||||
// The majority of the testing code needs to move into a system call (execv maybe?)
|
// The majority of the testing code needs to move into a system call (execv maybe?)
|
||||||
MinixFileSystem::init(8);
|
MinixFileSystem::init(8);
|
||||||
let path = "/testrv\0".as_bytes().as_ptr();
|
let path = "/fb\0".as_bytes().as_ptr();
|
||||||
syscall::syscall_execv(path,0);
|
syscall::syscall_execv(path,0);
|
||||||
println!("I should never get here, execv should destroy our process.");
|
println!("I should never get here, execv should destroy our process.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user