From: "Jiri Palecek >" <"<jirka"@debian.> (none) Subject: [LTP] [PATCH] Make fs/quota_remount_test01 more POSIX-shell friendly Date: Thu, 16 Apr 2009 17:27:59 +0200
> Signed-off-by: Jiri Palecek <[email protected]> > --- > .../fs/quota_remount/quota_remount_test01.sh | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/testcases/kernel/fs/quota_remount/quota_remount_test01.sh > b/testcases/kernel/fs/quota_remount/quota_remount_test01.sh > index f0530bf..e4f6fe7 100755 > --- a/testcases/kernel/fs/quota_remount/quota_remount_test01.sh > +++ b/testcases/kernel/fs/quota_remount/quota_remount_test01.sh > @@ -1,3 +1,4 @@ > +#!/bin/sh > > ################################################################################ > ## > ## > ## Copyright (c) Jan Kara <[email protected]>, 2008 > ## > @@ -35,7 +36,6 @@ > # Feb 17 2009 - Ported to LTP, > ## > # Subrata Modak <[email protected]> > ## > > ################################################################################ > -#!/bin/bash > > export TCID=quota_remount_test01 > export TST_TOTAL=1 > @@ -62,7 +62,7 @@ if [ ! -d /proc/sys/fs/quota ]; then > exit 0 > fi > > -function die() > +die() > { > echo >&2 $2 > umount 2>/dev/null $MNTDIR Acked-by: CAI Qian <[email protected]> > -- > 1.6.2 > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
