Fix sed expression for OS X and Solaris 2.6.
Matches previous fixes in other tests.
(the addremove command is deprecated; use add and remove --after instead)adding dir/baradding foodir/barfoo(the addremove command is deprecated; use add and remove --after instead)adding dir/bar_2adding foo_2dir/bar_2foo_2