autotest: Delete security_ChromiumOSLSM.

This Autotest test has been replaced by the
security.MountSymlink Tast test, which is running on the CQ.

BUG=chromium:885910
TEST=none

Change-Id: I96a99302cab76e312959140747d346f313b98eeb
Reviewed-on: https://chromium-review.googlesource.com/1362615
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
diff --git a/client/site_tests/security_ChromiumOSLSM/control b/client/site_tests/security_ChromiumOSLSM/control
deleted file mode 100644
index 38cfcb0..0000000
--- a/client/site_tests/security_ChromiumOSLSM/control
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-NAME = "security_ChromiumOSLSM"
-PURPOSE = "Verify that the Chromium Security Module is working as expected"
-CRITERIA = """
-This test will fail if:
-  - A mount operation can be specified using a symbolic mount path"
-"""
-AUTHOR = "ups@chromium.org (Stephan Uphoff)"
-TIME = "SHORT"
-ATTRIBUTES = "suite:bvt-inline, suite:smoke"
-TEST_CATEGORY = "Functional"
-TEST_CLASS = "security"
-TEST_TYPE = "client"
-JOB_RETRIES = 2
-DOC = """
-Verify that the Chromium Security Module is working as expected.
-
-The following will be tested:
-
-- Mount: Test that specifying a mount path containing a symbolic link will fail
-
-"""
-
-job.run_test('security_ChromiumOSLSM')
diff --git a/client/site_tests/security_ChromiumOSLSM/security_ChromiumOSLSM.py b/client/site_tests/security_ChromiumOSLSM/security_ChromiumOSLSM.py
deleted file mode 100644
index a218fa8..0000000
--- a/client/site_tests/security_ChromiumOSLSM/security_ChromiumOSLSM.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-__author__ = 'ups@chromium.org (Stephan Uphoff)'
-
-import logging
-import os
-import utils
-
-from autotest_lib.client.bin import utils, test
-from autotest_lib.client.common_lib import error
-
-
-class security_ChromiumOSLSM(test.test):
-    """
-    Verify Chromium OS Security Module behaves as expected.
-    """
-    version = 1
-
-    def _mount(self, target):
-        cmd = "mount -c -n -t tmpfs -o nodev,noexec,nosuid test %s" % (target)
-        return utils.system(cmd, ignore_status=True)
-
-    def _umount(self, target):
-        utils.system('umount -n %s' % (target))
-
-    def _check_mount(self, target, expected, msg):
-        succeeded = (self._mount(target) == 0)
-        if succeeded:
-            self._umount(target)
-        if succeeded != expected:
-            logging.error(msg)
-            return 1
-        return 0
-
-    def run_once(self):
-        errors = 0
-        test_dir = '/tmp/chromium_lsm_test_dir'
-        os.mkdir(test_dir, 0700)
-
-        mnt_target = '%s/mount_point' % (test_dir)
-        os.mkdir(mnt_target, 0700)
-
-        sym_target = '%s/symlink' % (test_dir)
-        os.symlink('mount_point', sym_target)
-
-        # Mounting should succeed (no symbolic link in mount path).
-        errors += self._check_mount(mnt_target, True,
-                                    'Unable to mount on a directory')
-
-        # Mounting should fail as we used a mount path with a symbolic link.
-        errors += self._check_mount(sym_target, False,
-                                    'Unexpectedly mounted on a symlink')
-
-        utils.system('rm -rf ' + test_dir)
-        # If self.error is not zero, there were errors.
-        if errors > 0:
-            raise error.TestFail('Failed %d tests' % errors)