grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 01/10] tests: Rename variable filtime -> filetime as its meant to


From: Glenn Washburn
Subject: [PATCH 01/10] tests: Rename variable filtime -> filetime as its meant to be
Date: Fri, 17 Sep 2021 23:03:55 +0000

Signed-off-by: Glenn Washburn <development@efficientek.com>
---
 tests/util/grub-fs-tester.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in
index 7c22cf882..9f6f26f26 100644
--- a/tests/util/grub-fs-tester.in
+++ b/tests/util/grub-fs-tester.in
@@ -1170,8 +1170,8 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" 
"$MAXLOGSECSIZE" 1); do
            fi
 
            if [ x$NOFILETIME != xy ]; then
-               filtime=$(TZ=UTC ls --time-style=+%Y%m%d%H%M%S -l -d 
"$MNTPOINTRO/$OSDIR/$BASEFILE"|awk '{print $6; }')
-               if echo "$LSROUT" | grep -F "$filtime $BASEFILE" > /dev/null; 
then
+               filetime=$(TZ=UTC ls --time-style=+%Y%m%d%H%M%S -l -d 
"$MNTPOINTRO/$OSDIR/$BASEFILE"|awk '{print $6; }')
+               if echo "$LSROUT" | grep -F "$filetime $BASEFILE" > /dev/null; 
then
                    :
                else
                    echo TIME FAIL
@@ -1180,8 +1180,8 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" 
"$MAXLOGSECSIZE" 1); do
                    exit 1
                fi
 
-               filtime=$(TZ=UTC ls --time-style=+%Y%m%d%H%M%S -l -d 
"$MNTPOINTRO/$OSDIR/$LONGNAME"|awk '{print $6; }')
-               if echo "$LSROUT" | grep -F "$filtime $LONGNAME" > /dev/null; 
then
+               filetime=$(TZ=UTC ls --time-style=+%Y%m%d%H%M%S -l -d 
"$MNTPOINTRO/$OSDIR/$LONGNAME"|awk '{print $6; }')
+               if echo "$LSROUT" | grep -F "$filetime $LONGNAME" > /dev/null; 
then
                    :
                else
                    echo LONG TIME FAIL
-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]