diff options
author | 2013-01-12 12:55:23 -0800 | |
---|---|---|
committer | 2013-01-12 12:55:23 -0800 | |
commit | 373cca0bf6834269c2b4fb6f27bcbf1c548ff983 (patch) | |
tree | 81e5b99250d4ba1e17fc627ea0724b43f3dfeda9 /fish_tests.cpp | |
parent | b32fcc7a8ef2857e111fc5daac15558545df912b (diff) |
Formatting
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index 7cef02a6..7f254338 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -382,7 +382,8 @@ static int test_fork_helper(void *unused) for (i=0; i < 1000; i++) { //delete [](new char[4 * 1024 * 1024]); - for (int j=0; j < 1024; j++) { + for (int j=0; j < 1024; j++) + { strerror(j); } } @@ -421,8 +422,10 @@ static void test_fork(void) { /* Child */ //new char[4 * 1024 * 1024]; - for (size_t i=0; i < 1024 * 16; i++) { - for (int j=0; j < 256; j++) { + for (size_t i=0; i < 1024 * 16; i++) + { + for (int j=0; j < 256; j++) + { strerror(j); } } |