(test_file_list_exec_source_files): Just
authorNick Roberts <nickrob@snap.net.nz>
Tue, 12 Sep 2006 20:11:42 +0000 (20:11 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 12 Sep 2006 20:11:42 +0000 (20:11 +0000)
check for one file.

gdb/testsuite/gdb.mi/mi-file.exp

index 86f0665719598c3da681955948ed2ce431c68fa6..1043185eaffc4b44feeb10bcd9e90ae634ec65f9 100644 (file)
@@ -75,7 +75,7 @@ proc test_file_list_exec_source_files {} {
 
     # get the path and absolute path to the current executable
     mi_gdb_test "222-file-list-exec-source-files" \
-           "222\\\^done,files=\\\[\{file=\".*/${srcfile}\",fullname=\"$fullname_syntax${srcfile}\"\},\{file=\".*\"\},\{file=\".*\"\},\{file=\".*\"\},\{file=\".*\"\}\\\]" \
+           "222\\\^done,files=\\\[\{file=\".*/${srcfile}\",fullname=\"$fullname_syntax${srcfile}\"\}.*]" \
               "Getting a list of source files."
 }