From: Eko <hong.sun@oracle.com>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP}
Date: Wed, 03 Jul 2013 11:30:13 +0800 [thread overview]
Message-ID: <51D39AC5.7030700@oracle.com> (raw)
In-Reply-To: <mailman.81986.1372818525.14365.ltp-list@lists.sourceforge.net>
--- runltp.bak 2013-07-03 10:18:28.375259716 +0800
+++ runltp 2013-07-03 10:32:22.958314831 +0800
@@ -1014,6 +1014,11 @@
cleanup()
{
+ for file in ${TMP}/*
+ do
+ umount $file > /dev/null 2>&1
+ done
+
[ "$LOOP_DEV" ] && losetup -d $LOOP_DEV
[ -e "${TEMP}/test.img" ] && rm -f ${TEMP}/test.img
rm -rf ${TMP}
--
Best Regards,
Eko
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next parent reply other threads:[~2013-07-03 3:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.81986.1372818525.14365.ltp-list@lists.sourceforge.net>
2013-07-03 3:30 ` Eko [this message]
[not found] <mailman.80890.1372765469.12996.ltp-list@lists.sourceforge.net>
2013-07-03 2:15 ` [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP} Eko
2013-07-03 7:36 ` Sedat Dilek
2013-07-10 14:04 ` chrubis
2013-07-10 14:17 ` chrubis
2013-07-09 15:11 ` chrubis
[not found] ` <CA+icZUUtv3MpiYScqqHmLbOFaEqKRC8eSAtUziMrVcRP80kbGw@mail.gmail.com>
2013-07-09 16:18 ` chrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51D39AC5.7030700@oracle.com \
--to=hong.sun@oracle.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.