Changeset 988 for vendor/current/lib/compression/testsuite.c
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/compression/testsuite.c
r740 r988 21 21 #include "includes.h" 22 22 #include "torture/torture.h" 23 #include "torture/local/proto.h" 23 24 #include "talloc.h" 24 #include "mszip.h"25 25 #include "lzxpress.h" 26 26 … … 31 31 { 32 32 TALLOC_CTX *tmp_ctx = talloc_new(test); 33 uint8_t *data;34 33 const char *fixed_data = "this is a test. and this is a test too"; 35 34 const uint8_t fixed_out[] = { 0x00, 0x20, 0x00, 0x04, 0x74, 0x68, 0x69, 0x73, … … 41 40 uint8_t *out, *out2; 42 41 43 data = talloc_size(tmp_ctx, 1023);44 42 out = talloc_size(tmp_ctx, 2048); 45 43 memset(out, 0x42, talloc_get_size(out));
Note:
See TracChangeset
for help on using the changeset viewer.