mirror of
https://github.com/uselessd/alcove.git
synced 2026-04-15 09:15:19 +00:00
tests: run alloc test on all platforms
Currently, alloc/2,3 tests functionality that only is needed for linux (for seccomp mode). Run the tests on other plaforms like freebsd, so we can catch any bugs.
This commit is contained in:
@@ -429,7 +429,7 @@ eof(#state{pid = Drv}) ->
|
||||
?_assertEqual(ok, Reply2)
|
||||
].
|
||||
|
||||
alloc(#state{os = {unix,linux}, pid = Drv}) ->
|
||||
alloc(#state{os = {unix,_}, pid = Drv}) ->
|
||||
{ok, Buf, Cstruct} = alcove:alloc(Drv,
|
||||
[<<1,2,3,4,5,6,7,8,9,10>>,
|
||||
{ptr, 11},
|
||||
|
||||
Reference in New Issue
Block a user