Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-12-18 03:39:47 +0400
committerChristopher Faylor <me@cgf.cx>2011-12-18 03:39:47 +0400
commit1b23b30b29eebbe7c9953f2a7470f31a0feb8702 (patch)
tree10592e165f5e31aac70913190d50d700f6fec96c /winsup/utils/testsuite.cc
parent988d896c0a3b60fab9cd323e52eefd4af98be323 (diff)
Clean up whitespace.
Diffstat (limited to 'winsup/utils/testsuite.cc')
-rw-r--r--winsup/utils/testsuite.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/winsup/utils/testsuite.cc b/winsup/utils/testsuite.cc
index b87f85cf8..b6762052c 100644
--- a/winsup/utils/testsuite.cc
+++ b/winsup/utils/testsuite.cc
@@ -66,24 +66,24 @@ main (int argc, char **argv)
{
char *result = cygpath (t.posix, NULL);
bool pass = (strcmp (result, t.win32) == 0);
-
+
if (pass)
- {
- numpass++;
- printf ("test %03d: PASS cwd=%-18s input=%-22s expected+actual=%s\n",
- curtest, t.cwd, t.posix, result);
- }
+ {
+ numpass++;
+ printf ("test %03d: PASS cwd=%-18s input=%-22s expected+actual=%s\n",
+ curtest, t.cwd, t.posix, result);
+ }
else
- {
- printf ("test %03d: FAIL cwd=%-18s input=%-29s expected=%-25s actual=%s\n",
- curtest, t.cwd, t.posix, t.win32, result);
- }
+ {
+ printf ("test %03d: FAIL cwd=%-18s input=%-29s expected=%-25s actual=%s\n",
+ curtest, t.cwd, t.posix, t.win32, result);
+ }
}
printf ("\n"
- "total tests: %d\n"
- "pass : %d (%.1f%%)\n"
- "fail : %d (%.1f%%)\n",
- curtest, numpass, ((float)numpass)/curtest * 100.0F, curtest - numpass,
- ((float)curtest - numpass)/curtest * 100.0F);
+ "total tests: %d\n"
+ "pass : %d (%.1f%%)\n"
+ "fail : %d (%.1f%%)\n",
+ curtest, numpass, ((float)numpass)/curtest * 100.0F, curtest - numpass,
+ ((float)curtest - numpass)/curtest * 100.0F);
return (numpass < curtest ? 1 : 0);
}