From: Justin Bogner Date: Wed, 22 Oct 2014 18:18:54 +0000 (+0000) Subject: test: Make this test runnable in directories with @ in their names X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=6a369dbdd6766ac8d764e293f6ae5586d5097f9f test: Make this test runnable in directories with @ in their names Jenkins likes to use directories with names involving the '@' character, which breaks the sed expression in this test. Switch to use '|' on the assumption that it's less likely to show up in a path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220401 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/GCOVProfiling/linezero.ll b/test/Transforms/GCOVProfiling/linezero.ll index cb6b69d4d71..3ffb1d6718f 100644 --- a/test/Transforms/GCOVProfiling/linezero.ll +++ b/test/Transforms/GCOVProfiling/linezero.ll @@ -1,4 +1,4 @@ -; RUN: sed -e 's@PATTERN@\%T@g' < %s > %t1 +; RUN: sed -e 's|PATTERN|%T|g' < %s > %t1 ; RUN: opt -insert-gcov-profiling -disable-output < %t1 ; RUN: rm %T/linezero.gcno %t1 ; REQUIRES: shell