2 # ===----------------------------------------------------------------------===##
4 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 # See https://llvm.org/LICENSE.txt for license information.
6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 # ===----------------------------------------------------------------------===##
13 rsp_path
= os
.path
.join(os
.path
.dirname(os
.path
.realpath(__file__
)), "rsp")
15 with
open(rsp_path
) as f
:
16 success
= "../Other/./foo" in f
.read()
18 sys
.exit(1 if success
else 0)