This test does not always fail for LFS, so apply same kludge as
elsewhere while waiting for atf to grow support for these cases.
This commit is contained in:
parent
3b6c9000bf
commit
b006a8b60d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: t_renamerace.c,v 1.2 2010/07/14 21:44:40 pooka Exp $ */
|
||||
/* $NetBSD: t_renamerace.c,v 1.3 2010/07/16 10:50:55 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Modified for rump and atf from a program supplied
|
||||
@ -80,6 +80,13 @@ renamerace(const atf_tc_t *tc, const char *mp)
|
||||
|
||||
pthread_join(pt1, NULL);
|
||||
pthread_join(pt2, NULL);
|
||||
|
||||
/*
|
||||
* XXX: does not always fail on LFS, especially for unicpu
|
||||
* configurations. see other ramlings about racy tests.
|
||||
*/
|
||||
if (FSTYPE_LFS(tc))
|
||||
abort();
|
||||
}
|
||||
|
||||
ATF_TC_FSAPPLY(renamerace, "rename(2) race with file unlinked mid-operation");
|
||||
|
Loading…
Reference in New Issue
Block a user