1*8490a7d9SArthur Eubanks#!/usr/bin/env python3 2*8490a7d9SArthur Eubanks#===----------------------------------------------------------------------===## 3*8490a7d9SArthur Eubanks# 4*8490a7d9SArthur Eubanks# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5*8490a7d9SArthur Eubanks# See https://llvm.org/LICENSE.txt for license information. 6*8490a7d9SArthur Eubanks# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7*8490a7d9SArthur Eubanks# 8*8490a7d9SArthur Eubanks#===----------------------------------------------------------------------===## 9*8490a7d9SArthur Eubanks 10*8490a7d9SArthur Eubanksimport os 11*8490a7d9SArthur Eubanksimport sys 12*8490a7d9SArthur Eubanks 13*8490a7d9SArthur Eubanksrsp_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "rsp") 14*8490a7d9SArthur Eubanks 15*8490a7d9SArthur Eubankswith open(rsp_path) as f: 16*8490a7d9SArthur Eubanks contents = f.read() 17*8490a7d9SArthur Eubanks print(contents) 18*8490a7d9SArthur Eubanks success = '../Other/./foo' in contents 19*8490a7d9SArthur Eubanks 20*8490a7d9SArthur Eubankssys.exit(0 if success else 1) 21