Great, applied to next, thanks! On Wed, Jul 11, 2012 at 12:22 AM, Amos Kong <[email protected]> wrote: > On 10/07/12 14:43, [email protected] wrote: >> From: Lei Yang<[email protected]> >> >> The "md5sum -c" will check the file which is md5sumed. in guest-os.cfg, it >> will hit a error,if we don't use the right >> path >> lyang0@lyang0-OptiPlex-755:~/community/autotest_upstream$ cd /bin&& md5sum >> ls> /tmp/ls.md5&& cd /tmp&& md5sum -c ls.md5 >> md5sum: ls: No such file or directory >> ls: FAILED open or read >> md5sum: WARNING: 1 of 1 listed file could not be read >> >> Signed-off-by: Lei Yang<[email protected]> >> --- >> client/virt/guest-os.cfg.sample | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/client/virt/guest-os.cfg.sample >> b/client/virt/guest-os.cfg.sample >> index 93a4495..16d27c6 100644 >> --- a/client/virt/guest-os.cfg.sample >> +++ b/client/virt/guest-os.cfg.sample >> @@ -52,7 +52,7 @@ variants: >> format_command = echo y | mkfs -t %s /dev/%s >> copy_to_command = \cp -rf /bin/ls /mnt/%s >> copy_from_command = \cp -rf /mnt/%s/ls /tmp/ls >> - compare_command = cd /bin&& md5sum ls> /tmp/ls.md5&& cd >> /tmp&& md5sum -c ls.md5 >> + compare_command = md5sum /bin/ls> /tmp/ls.md5&& cd /tmp&& >> md5sum -c ls.md5 > > > Reviewed-by: Amos Kong <[email protected]> > > >> check_result_key_word = OK >> max_disk: >> stg_image_num = 27 > > -- > Amos. > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
-- Lucas _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
