test: Make this test runnable in directories with @ in their names
authorJustin Bogner <mail@justinbogner.com>
Wed, 22 Oct 2014 18:18:54 +0000 (18:18 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 22 Oct 2014 18:18:54 +0000 (18:18 +0000)
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

test/Transforms/GCOVProfiling/linezero.ll

index cb6b69d4d71389facd2efbd4bc7c37635f95e4be..3ffb1d6718f814dc80e2316688df586add5cfa31 100644 (file)
@@ -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
 ; RUN: opt -insert-gcov-profiling -disable-output < %t1
 ; RUN: rm %T/linezero.gcno %t1
 ; REQUIRES: shell