diff options
Diffstat (limited to 'net/test/net_test.py')
-rw-r--r-- | net/test/net_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/test/net_test.py b/net/test/net_test.py index 5f88a2b..93c3167 100644 --- a/net/test/net_test.py +++ b/net/test/net_test.py @@ -96,6 +96,9 @@ KERN_INFO = 6 LINUX_VERSION = csocket.LinuxVersion() LINUX_ANY_VERSION = (0, 0) +# From //system/gsid/libgsi.cpp IsGsiRunning() +IS_GSI = os.access("/metadata/gsi/dsu/booted", os.F_OK) + def KernelAtLeast(versions): """Checks the kernel version matches the specified versions. |