summaryrefslogtreecommitdiff
path: root/tests/build-system-python-distutils.script
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-23 16:34:23 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-23 16:34:23 +0100
commit21954744ce1e1b17c26f5a1e8f04ceeb048ae033 (patch)
tree192d4737aca17f86d59b10cab5ce88e5ee35c5fa /tests/build-system-python-distutils.script
parent391af21d8fe5592b334b7417d76415a6fbe64dda (diff)
downloadmorph-21954744ce1e1b17c26f5a1e8f04ceeb048ae033.tar.gz
Normalize test output for build-system.python-distutils test
The output otherwise differs between various Linux distros, with differnet distutils settings and Python versions.
Diffstat (limited to 'tests/build-system-python-distutils.script')
-rwxr-xr-xtests/build-system-python-distutils.script6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/build-system-python-distutils.script b/tests/build-system-python-distutils.script
index 2c7c7df6..49ab98ce 100755
--- a/tests/build-system-python-distutils.script
+++ b/tests/build-system-python-distutils.script
@@ -58,4 +58,8 @@ do
echo "$chunk:" | sed 's/[^.]*//'
tar -tf "$chunk" | LC_ALL=C sort | sed '/^\.\/./s:^\./::'
echo
-done
+done |
+sed -e 's:^local/::' \
+ -e 's:lib/python2.[6-9]/:lib/python2.x/:' \
+ -e 's:/hello-0\.0\.0[^/]*\.egg-info$:/hello.egg-info/:' \
+ -e '/^$/d'