brintos

brintos / llvm-project-archived public Read only

0
0
Text · 631 B · be5555a Raw
21 lines · python
1#!/usr/bin/env python32# ===----------------------------------------------------------------------===##3#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-exception7#8# ===----------------------------------------------------------------------===##9 10import os11import sys12 13rsp_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "rsp")14 15with open(rsp_path) as f:16    contents = f.read()17    print(contents)18    success = "../Other/./foo" in contents19 20sys.exit(0 if success else 1)21