changeset 2009:182f500805db

Fix broken hgignore tests due to full path showing up in output.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 26 Mar 2006 22:54:05 +0200
parents 11ffa1267185
children db1eb0de286a ff5c9a92f556
files tests/test-hgignore
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hgignore	Sun Mar 26 22:32:44 2006 +0200
+++ b/tests/test-hgignore	Sun Mar 26 22:54:05 2006 +0200
@@ -16,7 +16,7 @@
 echo "--" ; hg status
 
 echo "*.o" > .hgignore
-echo "--" ; hg status
+echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/'
 
 echo ".*\.o" > .hgignore
 echo "--" ; hg status
@@ -29,7 +29,7 @@
 #echo "--" ; hg status
 
 echo "syntax: invalid" > .hgignore
-echo "--" ; hg status
+echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/'
 
 echo "syntax: glob" > .hgignore
 echo "*.o" >> .hgignore