~ubuntu-branches/ubuntu/oneiric/valkyrie/oneiric

« back to all changes in this revision

Viewing changes to tests/filter_test_paths

  • Committer: Bazaar Package Importer
  • Author(s): Hai Zaar
  • Date: 2009-05-06 14:48:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090506144800-vw617m4d4qa2pam3
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# Anonymise paths like "/local/foo/bar/tests/baz/quux" (note "tests" is there)
 
4
#sed "s/\/.*\/tests\//\/...\/tests\//"
 
5
 
 
6
# Remove these two kinds of lines, which tend to appear beneath
 
7
# the stack frame of __libc_start_main
 
8
#    by 0x........: (within /.../tests/malloc2)
 
9
#    by 0x........: ??? (start.S:81)
 
10
sed "s/by 0x........: (within [^)]*)/by 0x........: .../" | \
 
11
sed "s/by 0x........: ??? ([^)]*)/by 0x........: .../"
 
12