mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
pv 955274, rv bnaujok - add 1sec delay between file creation and changing its
attribute via dm_set_dmattr(). If the machine is too fast the ctime doesn't change between create and dm_set_dmattr() and the test fails. Merge of master-melb:xfs-cmds:26870a by kenmcd. pv 955274, rv bnaujok - add 1sec delay between file creation and changing its attribute via dm_set_dmattr(). If the machine is too fast the ctime doesn't change between create and dm_set_dmattr() and the test fails.
This commit is contained in:
@@ -172,7 +172,7 @@ main(
|
||||
sprintf(command, "cp %s %s \n", ls_path, test_file);
|
||||
system(command);
|
||||
}
|
||||
|
||||
sleep(1);
|
||||
/* SET loop */
|
||||
for (i=0; i < num_iter; i++) {
|
||||
sprintf(test_file, "%s/DMAPI_attribute_test_file.%d",
|
||||
|
||||
Reference in New Issue
Block a user