☰
Debian Codegraph
@
0.4.0-3
/
/
tests
/
global_reset.rs
☽
☼
tests/global_reset.rs
code
plain
raw
symbols
SCIP
MIT
or
Apache-2.0
2021 Sony Group Corporation
debian/copyright
1
use
libseccomp
::*;
2
3
#[
test
]
4
fn
test_reset_global_state
() {
5
if
check_version
(
ScmpVersion
::
from
((2, 5, 1))).
unwrap
() {
6
assert
!(
reset_global_state
().
is_ok
());
7
} else {
8
assert
!(
reset_global_state
().
is_err
());
9
}
10
}