• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "Chrome OS Team"
6DOC = """
7Verify that we get low memory notification from /dev/chromeos-low-mem
8before we kill processes (OOM) when we consume a lot of memory.
9"""
10NAME = "kernel_Oom"
11PURPOSE = "Checks that processes get killed in very low memory conditions."
12CRITERIA = """
13Fails if /dev/chromeos-low-mem does not exist or does not behave as expected.
14Fails if we OOM (ie, processes get killed) before we get low memory
15notification.
16"""
17TIME = "SHORT"
18TEST_CATEGORY = "Functional"
19TEST_CLASS = "kernel"
20TEST_TYPE = "client"
21
22job.run_test('platform_CompressedSwap', checking_for_oom=True)
23