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