From b3846bf8f17ef7faae5be11569a324b884f7de96 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sun, 22 Dec 2019 16:54:46 -0600 Subject: [PATCH] tests/fix ~ (stat) remove '%a', '%d', '%f' from file system test format due to race conditions --- tests/test_stat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stat.rs b/tests/test_stat.rs index 7dd701263..1cf33162f 100644 --- a/tests/test_stat.rs +++ b/tests/test_stat.rs @@ -150,7 +150,7 @@ const NORMAL_FMTSTR: &'static str = "%a %A %b %B %d %D %f %F %g %G %h %i %m %n % #[cfg(target_os = "linux")] const DEV_FMTSTR: &'static str = "%a %A %b %B %d %D %f %F %g %G %h %i %m %n %o %s (%t/%T) %u %U %w %W %x %X %y %Y %z %Z"; #[cfg(target_os = "linux")] -const FS_FMTSTR: &'static str = "%a %b %c %d %f %i %l %n %s %S %t %T"; +const FS_FMTSTR: &'static str = "%b %c %i %l %n %s %S %t %T"; // avoid "%a %d %f" which can cause test failure due to race conditions #[test] #[cfg(target_os = "linux")]