flatcar-scripts/chroot_version_hooks.d/11_rm_bad_directory
David James c801b10af3 Actually rm -rf /does/not instead to fix metrics unit tests.
Metrics unit tests fail if /does/not directory is present, so we need to
clean this up as a followup to a build_packages fix that stopped
creating that directory.

BUG=none
TEST=Metrics unit tests actually work now.

Change-Id: I7c470e8225e4c5c7a77f6decc4c4bcadb72cd246
Reviewed-on: http://gerrit.chromium.org/gerrit/8848
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
2011-10-06 00:19:03 -07:00

9 lines
292 B
Plaintext

# 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.
# Delete /does/not to fix metrics unit test, which depends on this
# directory not existing.
sudo rm -rf /does/not
exit 0