Frédéric Delanoy : cmd/tests: Get rid of obsolete @todo_space@ construct.

Alexandre Julliard julliard at winehq.org
Tue Jun 14 11:57:47 CDT 2011


Module: wine
Branch: master
Commit: 5cb45138daa9d0173210b2e73eb213d539459c3c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5cb45138daa9d0173210b2e73eb213d539459c3c

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Mon Jun 13 22:19:44 2011 +0200

cmd/tests: Get rid of obsolete @todo_space@ construct.

---

 programs/cmd/tests/batch.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/programs/cmd/tests/batch.c b/programs/cmd/tests/batch.c
index 0f01dbf..3c12fe7 100644
--- a/programs/cmd/tests/batch.c
+++ b/programs/cmd/tests/batch.c
@@ -142,7 +142,6 @@ static const char *compare_line(const char *out_line, const char *out_end, const
     const char *err = NULL;
 
     static const char pwd_cmd[] = {'@','p','w','d','@'};
-    static const char todo_space_cmd[] = {'@','t','o','d','o','_','s','p','a','c','e','@'};
     static const char space_cmd[] = {'@','s','p','a','c','e','@'};
     static const char or_broken_cmd[] = {'@','o','r','_','b','r','o','k','e','n','@'};
 
@@ -159,13 +158,6 @@ static const char *compare_line(const char *out_line, const char *out_end, const
                     out_ptr += workdir_len;
                     continue;
                 }
-            }else if(exp_ptr+sizeof(todo_space_cmd) <= exp_end
-                    && !memcmp(exp_ptr, todo_space_cmd, sizeof(todo_space_cmd))) {
-                exp_ptr += sizeof(todo_space_cmd);
-                todo_wine ok(*out_ptr == ' ', "expected space\n");
-                if(out_ptr < out_end && *out_ptr == ' ')
-                    out_ptr++;
-                continue;
             }else if(exp_ptr+sizeof(space_cmd) <= exp_end
                     && !memcmp(exp_ptr, space_cmd, sizeof(space_cmd))) {
                 exp_ptr += sizeof(space_cmd);




More information about the wine-cvs mailing list