blob: 89d72a7c5f9d582484e26fcf332665c9cca5743b [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fuchsia/io/llcpp/fidl.h>
#include "src/sys/appmgr/integration_tests/sandbox/namespace_test.h"
// Verifies that the path does not exist in the namespace.
TEST_F(NamespaceTest, PathTraversalEscapeFails) {
ExpectDoesNotExist("/boot");
ExpectDoesNotExist("/pkgfs/../boot");
}