Hi! > + /* > + * Wait until udev creates the device node. > + * If the node is not created, we will create it manually, > + * see below. > + */ > + sleep(5);
As usually I do not like adding long sleep() into testcases. What is the danger of creating it maualy anyway? Will that be overridden by udev, will the test fail because of that? If so, can we at least wait more actively? (check if the file exists a few times per second and proceed with manual creation after a timeout) -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list