Fix broken hgignore tests due to full path showing up in output.
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 26 Mar 2006 22:54:05 +0200
changeset 2009 182f500805db
parent 2008 11ffa1267185
child 2010 db1eb0de286a
child 2016 ff5c9a92f556
Fix broken hgignore tests due to full path showing up in output.
tests/test-hgignore
--- 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