Home | History | Annotate | Download | only in kernel_LowMemNotify
      1 # Copyright (c) 2012 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 
      5 AUTHOR = "Chrome OS Team"
      6 DOC = """
      7 Verify that we can get low memory notification from /dev/chromeos-low-mem
      8 when we consume a lot of memory.
      9 Verify we no longer get it when some of the memory is freed.
     10 
     11 Run the platform_CompressedSwap test with the just_checking_lowmem flag.
     12 """
     13 NAME = "kernel_LowMemNotify"
     14 PURPOSE = "Checks that /dev/chromeos-low-mem reports low-memory conditions."
     15 CRITERIA = """
     16 Fails if /dev/chromeos-low-mem does not exist or does not behave as expected.
     17 """
     18 TIME = "SHORT"
     19 TEST_CATEGORY = "Functional"
     20 TEST_CLASS = "kernel"
     21 TEST_TYPE = "client"
     22 
     23 job.run_test('platform_CompressedSwap', just_checking_lowmem=True)
     24