]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Rename variable filtime -> filetime as its meant to be
authorGlenn Washburn <development@efficientek.com>
Fri, 17 Sep 2021 23:03:55 +0000 (23:03 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 14 Oct 2021 13:06:01 +0000 (15:06 +0200)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in

index 9a05a2d26dc21f550e7a7327bcc0133f69165384..7378f812e5e32fb35f90e176e22ef9b9cdd31696 100644 (file)
@@ -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