2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
gdb/testsuite/Changelog:
	* gdb.fortran/whatis_type.exp: Use multi_line.
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/whatis_type.exp: Use multi_line.
+
 2016-05-24  Tom Tromey  <tom@tromey.com>
 
        PR python/17386:
 
 set t1_r "$real :: t1_r"
 
 gdb_test "whatis t1" \
-  "type = Type t1\r\n${t1_i}\r\n${t1_r}\r\nEnd Type t1" \
+  [multi_line "type = Type t1" \
+                 "$t1_i" \
+                 "$t1_r" \
+                 "End Type t1"] \
   "whatis t1"
 gdb_test "whatis t1v" \
-  "type = Type t1\r\n${t1_i}\r\n${t1_r}\r\nEnd Type t1" \
+  [multi_line "type = Type t1" \
+                 "$t1_i" \
+                 "$t1_r" \
+                 "End Type t1"] \
   "whatis t1v"
 
 gdb_test "ptype t1" \
-  "type = Type t1\r\n    ${t1_i}\r\n    ${t1_r}\r\nEnd Type t1" \
+  [multi_line "type = Type t1" \
+                 "    $t1_i" \
+                 "    $t1_r" \
+                 "End Type t1"] \
   "ptype t1"
 gdb_test "ptype t1v" \
-  "type = Type t1\r\n    ${t1_i}\r\n    ${t1_r}\r\nEnd Type t1" \
+  [multi_line "type = Type t1" \
+                 "    $t1_i" \
+                 "    $t1_r" \
+                 "End Type t1"] \
   "ptype t1v"