From: Glenn Washburn Date: Fri, 17 Sep 2021 23:03:55 +0000 (+0000) Subject: tests: Rename variable filtime -> filetime as its meant to be X-Git-Tag: grub-2.12-rc1~550 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2abd932957bb6a719c3b4480cf9fddd62f2f3e8;p=thirdparty%2Fgrub.git tests: Rename variable filtime -> filetime as its meant to be Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index 9a05a2d26..7378f812e 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