+cat > $expectederr <<EOF
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+EOF
+