Add note about racy tests
This commit is contained in:
@@ -90,7 +90,8 @@ copy_import(void)
|
||||
if (!equal)
|
||||
errx(1, "names not equal");
|
||||
|
||||
if (lifetime1 != lifetime1)
|
||||
/* FIXME: This check is racy! */
|
||||
if (lifetime1 != lifetime2)
|
||||
errx(1, "lifetime not equal");
|
||||
|
||||
if (usage1 != usage1)
|
||||
|
@@ -102,6 +102,7 @@ copy_import(void)
|
||||
if (!equal)
|
||||
errx(1, "names not equal");
|
||||
|
||||
/* FIXME: This check is racy! */
|
||||
if (lifetime1 != lifetime2)
|
||||
errx(1, "lifetime not equal %lu != %lu",
|
||||
(unsigned long)lifetime1, (unsigned long)lifetime2);
|
||||
@@ -126,6 +127,7 @@ copy_import(void)
|
||||
if (!equal)
|
||||
errx(1, "names not equal");
|
||||
|
||||
/* FIXME: This check is racy! */
|
||||
if (lifetime1 != lifetime2)
|
||||
errx(1, "lifetime not equal %lu != %lu",
|
||||
(unsigned long)lifetime1, (unsigned long)lifetime2);
|
||||
|
Reference in New Issue
Block a user