Web lists-archives.org

Re: [PATCH] Fix sed syntax in t7502-commit for OSX





Am 15.05.2008 um 10:58 schrieb Holger Schurig:

-sed -i '$d' expect
+sed -i -e '$d' expect

perl -pi -e 's/foo/bar/' ???

This does not work with '$d', so we could use sed with a temp instead of the -i extension. Alternatively we could specify the full test fixture instead of editing an old one. This would make the expected results more obvious and the tests would work without assumptions about running order.

Marcel
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html