X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/025963d5fe8ca0781eee8c83c23b4ea1209a3b0b..a9f9e3d5387e31c404fd24ee71b2a72b005b85eb:/test/format/test-fmtdump diff --git a/test/format/test-fmtdump b/test/format/test-fmtdump index 0e723dce..eded0362 100755 --- a/test/format/test-fmtdump +++ b/test/format/test-fmtdump @@ -85,12 +85,8 @@ L1: LS_COMP, comp "replied" IF_S continue else goto L2 CHAR '-' GOTO L3 -L2: LS_COMP, comp "encrypted" - IF_S continue else goto L4 - CHAR 'E' -L3: GOTO L5 -L4: CHAR ' ' -L5: PARSEDATE, c_name "date", c_type +L2: CHAR ' ' +L3: PARSEDATE, c_name "date", c_type LV_MON, c_name "date", c_type NUMF, width 2, fill '0' CHAR '/' @@ -98,35 +94,35 @@ L5: PARSEDATE, c_name "date", c_type LV_MDAY, c_name "date", c_type NUMF, width 2, fill '0' LS_COMP, comp "date", c_type - IF_S continue else goto L6 + IF_S continue else goto L4 CHAR ' ' - GOTO L7 -L6: CHAR '*' -L7: MYMBOX, c_name "from", c_type + GOTO L5 +L4: CHAR '*' +L5: MYMBOX, c_name "from", c_type LV_COMPFLAG, comp "from", c_type - IF_V_NE 0 continue else goto L8 + IF_V_NE 0 continue else goto L6 LS_COMP, comp "to", c_type - IF_S continue else goto L8 + IF_S continue else goto L6 LIT "To:" PARSEADDR, c_name "to", c_type LS_FRIENDLY, c_name "to", c_type LS_DECODE STRF, width 14, fill ' ' -L8: IF_V_EQ 0 continue else goto L9 +L6: IF_V_EQ 0 continue else goto L7 PARSEADDR, c_name "from", c_type LS_FRIENDLY, c_name "from", c_type LS_DECODE STRF, width 17, fill ' ' -L9: LIT " " +L7: LIT " " LS_COMP, comp "subject" LS_DECODE STR LS_COMP, comp "body" - IF_S continue else goto L10 + IF_S continue else goto L8 LIT "<<" COMP, comp "body" LIT ">>" -L10: CHAR '\n' +L8: CHAR '\n' DONE EOF @@ -146,12 +142,8 @@ L1: LS_COMP, comp "replied" IF_S continue else goto L2 CHAR '-' GOTO L3 -L2: LS_COMP, comp "encrypted" - IF_S continue else goto L4 - CHAR 'E' -L3: GOTO L5 -L4: CHAR ' ' -L5: PARSEDATE, c_name "date", c_type +L2: CHAR ' ' +L3: PARSEDATE, c_name "date", c_type LV_MON, c_name "date", c_type NUMF, width 2, fill '0' CHAR '/' @@ -159,37 +151,37 @@ L5: PARSEDATE, c_name "date", c_type LV_MDAY, c_name "date", c_type NUMF, width 2, fill '0' LS_COMP, comp "date", c_type - IF_S continue else goto L6 + IF_S continue else goto L4 CHAR ' ' - GOTO L7 -L6: CHAR '*' -L7: MYMBOX, c_name "from", c_type + GOTO L5 +L4: CHAR '*' +L5: MYMBOX, c_name "from", c_type LV_COMPFLAG, comp "from", c_type - IF_V_NE 0 continue else goto L8 + IF_V_NE 0 continue else goto L6 LS_COMP, comp "to", c_type - IF_S continue else goto L8 + IF_S continue else goto L6 LIT "To:" PARSEADDR, c_name "to", c_type LS_FRIENDLY, c_name "to", c_type LS_DECODE LS_UNQUOTE STRF, width 14, fill ' ' -L8: IF_V_EQ 0 continue else goto L9 +L6: IF_V_EQ 0 continue else goto L7 PARSEADDR, c_name "from", c_type LS_FRIENDLY, c_name "from", c_type LS_DECODE LS_UNQUOTE STRF, width 17, fill ' ' -L9: LIT " " +L7: LIT " " LS_COMP, comp "subject" LS_DECODE STR LS_COMP, comp "body" - IF_S continue else goto L10 + IF_S continue else goto L8 LIT "<<" COMP, comp "body" LIT ">>" -L10: CHAR '\n' +L8: CHAR '\n' DONE EOF