nicer output for attach test

develop
Petr Mrázek 2009-10-29 17:56:15 +00:00
parent 6d4763db22
commit 64f5f46177
1 changed files with 2 additions and 0 deletions

@ -36,6 +36,7 @@ int main (void)
bool all_ok = true;
for (int i = 0; i < 1000; i++)
{
cout << "Try " << i << endl;
if(DF.Attach())
{
if(DF.Detach())
@ -53,6 +54,7 @@ int main (void)
cout << "cycle " << i << ", attach failed" << endl;
all_ok = false;
}
cout << endl;
}
if(!all_ok)
{