commit, cherry-pick -s: remove broken support for multiline rfc2822 fields
[gitweb.git] / t / t9401-git-cvsserver-crlf.sh
index cdb83603144d4956a8bbbc2a307df99c44cf678d..1c5bc84fa72492a820638e4e197b89ba13bc27f1 100755 (executable)
@@ -46,7 +46,7 @@ check_status_options() {
        echo "Error from cvs status: $1 $2" >> "${WORKDIR}/marked.log"
        return 1;
     fi
-    got="$(sed -n -e 's/^\s*Sticky Options:\s*//p' "${WORKDIR}/status.out")"
+    got="$(sed -n -e 's/^[     ]*Sticky Options:[      ]*//p' "${WORKDIR}/status.out")"
     expect="$3"
     if [ x"$expect" = x"" ] ; then
        expect="(none)"