mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
linux: fix lx_rmap test to not stuck
The test did not fail actually. It just behaved strangely and got stuck in the good case, which is fixed now. Fixes #1121.
This commit is contained in:
parent
023afebba1
commit
2c15aaf67d
@ -67,6 +67,7 @@ build_boot_image $boot_modules
|
||||
# Execute test
|
||||
#
|
||||
|
||||
run_genode_until forever
|
||||
run_genode_until "child exited with exit value 0.*\n" 10
|
||||
puts "Test succeeded"
|
||||
|
||||
# vi: set ft=tcl :
|
||||
|
@ -67,6 +67,7 @@ int main()
|
||||
PLOG("before RAM dataspace attach");
|
||||
env()->rm_session()->attach_at(ds, beg);
|
||||
PERR("after RAM dataspace attach -- ERROR");
|
||||
sleep_forever();
|
||||
} catch (Rm_session::Region_conflict) {
|
||||
PLOG("OK caught Region_conflict exception");
|
||||
}
|
||||
@ -79,6 +80,7 @@ int main()
|
||||
PLOG("before sub-RM dataspace attach");
|
||||
env()->rm_session()->attach_at(ds, beg);
|
||||
PERR("after sub-RM dataspace attach -- ERROR");
|
||||
sleep_forever();
|
||||
} catch (Rm_session::Region_conflict) {
|
||||
PLOG("OK caught Region_conflict exception");
|
||||
}
|
||||
@ -98,8 +100,7 @@ int main()
|
||||
*addr = 0x55;
|
||||
PLOG("after touch (%x/%x)", val, *addr);
|
||||
} catch (Rm_session::Region_conflict) {
|
||||
PLOG("OK caught Region_conflict exception -- ERROR");
|
||||
PERR("Caught Region_conflict exception -- ERROR");
|
||||
sleep_forever();
|
||||
}
|
||||
|
||||
sleep_forever();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user