Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | 4113f5881bba98912b14ca5d77d17e9fb5816ac3 |
|---|---|
| Date: | 2012-06-29 11:05:07 |
| User: | drh |
| Comment: | Update the test-parse-manifest test command so that it reports parse failures on standard output. |
Tags And Properties
- branch=trunk inherited from [bf1c21ba16]
- sym-trunk inherited from [bf1c21ba16]
Changes
Changes to src/manifest.c
972 } 972 } 973 blob_read_from_file(&b, g.argv[2]); 973 blob_read_from_file(&b, g.argv[2]); 974 if( g.argc>3 ) n = atoi(g.argv[3]); 974 if( g.argc>3 ) n = atoi(g.argv[3]); 975 for(i=0; i<n; i++){ 975 for(i=0; i<n; i++){ 976 Blob b2; 976 Blob b2; 977 blob_copy(&b2, &b); 977 blob_copy(&b2, &b); 978 p = manifest_parse(&b2, 0); 978 p = manifest_parse(&b2, 0); > 979 if( p==0 ) fossil_print("FAILED!\n"); 979 manifest_destroy(p); 980 manifest_destroy(p); 980 } 981 } 981 } 982 } 982 983 983 /* 984 /* 984 ** Fetch the baseline associated with the delta-manifest p. 985 ** Fetch the baseline associated with the delta-manifest p. 985 ** Return 0 on success. If unable to parse the baseline, 986 ** Return 0 on success. If unable to parse the baseline,