Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/platform/vboot_reference/cgptlib/tests/cgptlib_test.c

Issue 2082007: rename cgpt files with cgptlib prefix (to avoid conflicts to cgpt utility) (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 #include "cgpt_test.h" 6 #include "cgptlib_test.h"
7 #include <string.h> 7 #include <string.h>
8 #include "cgpt.h" 8 #include "cgptlib.h"
9 #include "cgpt_internal.h" 9 #include "cgptlib_internal.h"
10 #include "crc32.h" 10 #include "crc32.h"
11 #include "gpt.h" 11 #include "gpt.h"
12 #include "quick_sort_test.h" 12 #include "quick_sort_test.h"
13 #include "utility.h" 13 #include "utility.h"
14 14
15 /* Testing partition layout (sector_bytes=512) 15 /* Testing partition layout (sector_bytes=512)
16 * 16 *
17 * LBA Size Usage 17 * LBA Size Usage
18 * --------------------------------------------------------- 18 * ---------------------------------------------------------
19 * 0 1 PMBR 19 * 0 1 PMBR
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 printf(COL_RED "The following %d test cases are failed:\n" COL_STOP, 1169 printf(COL_RED "The following %d test cases are failed:\n" COL_STOP,
1170 error_count); 1170 error_count);
1171 for (i = 0; i < sizeof(test_cases)/sizeof(test_cases[0]); ++i) { 1171 for (i = 0; i < sizeof(test_cases)/sizeof(test_cases[0]); ++i) {
1172 if (test_cases[i].retval) 1172 if (test_cases[i].retval)
1173 printf(" %s()\n", test_cases[i].name); 1173 printf(" %s()\n", test_cases[i].name);
1174 } 1174 }
1175 } 1175 }
1176 1176
1177 return (error_count) ? 1 : 0; 1177 return (error_count) ? 1 : 0;
1178 } 1178 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698