Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tests: 96, 558, 1330: strip build subdirectory dependent leading path

  • Loading branch information...
commit 91e2ce6e76ad1a22f9770e65c02f7f527ef3abff 1 parent 2ba5f4b
yangtse yangtse authored
Showing with 13 additions and 10 deletions.
  1. +3 −2 tests/data/test1330
  2. +7 −6 tests/data/test558
  3. +3 −2 tests/data/test96
5 tests/data/test1330
View
@@ -37,13 +37,14 @@ nothing
# Verify data after the test has been "shot"
<verify>
<file name="log/memdump" mode="text">
-MEM ../../../tests/unit/unit1330.c: malloc()
-MEM ../../../tests/unit/unit1330.c: free()
+MEM unit1330.c: malloc()
+MEM unit1330.c: free()
</file>
<stripfile>
s/ =.*//
s/\(.*\)/()/
s/:\d+/:/
+s:^(MEM )(.*/)(.*):$1$3:
</stripfile>
</verify>
13 tests/data/test558
View
@@ -35,17 +35,18 @@ nothing
# Verify data after the test has been "shot"
<verify>
<file name="log/memdump" mode="text">
-MEM ../../../tests/libtest/lib558.c: malloc()
-MEM ../../../tests/libtest/lib558.c: free()
-MEM ../../lib/escape.c: malloc()
-MEM ../../lib/escape.c: realloc()
-MEM ../../lib/escape.c: realloc()
-MEM ../../lib/escape.c: free()
+MEM lib558.c: malloc()
+MEM lib558.c: free()
+MEM escape.c: malloc()
+MEM escape.c: realloc()
+MEM escape.c: realloc()
+MEM escape.c: free()
</file>
<stripfile>
s/ =.*//
s/\(.*\)/()/
s/:\d+/:/
+s:^(MEM )(.*/)(.*):$1$3:
</stripfile>
</verify>
5 tests/data/test96
View
@@ -31,12 +31,13 @@ curl memory tracking operational
# Verify data after the test has been "shot"
<verify>
<file name="log/memdump" mode="text">
-MEM ../../src/tool_paramhlp.c
-MEM ../../src/tool_cfgable.c
+MEM tool_paramhlp.c
+MEM tool_cfgable.c
</file>
<stripfile>
$_ = '' if (($_ !~ /tool_paramhlp/) && ($_ !~ /tool_cfgable/))
s/:\d+.*//
+s:^(MEM )(.*/)(.*):$1$3:
</stripfile>
</verify>
Please sign in to comment.
Something went wrong with that request. Please try again.