mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
tests: Rename variable filtime -> filetime as its meant to be
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
6bdcb03bcb
commit
d2abd93295
1 file changed
+4
-4
@@ -1170,8 +1170,8 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x$NOFILETIME != xy ]; then
|
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; }')
|
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 "$filtime $BASEFILE" > /dev/null; then
|
if echo "$LSROUT" | grep -F "$filetime $BASEFILE" > /dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
echo TIME FAIL
|
echo TIME FAIL
|
||||||
@@ -1180,8 +1180,8 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
filtime=$(TZ=UTC ls --time-style=+%Y%m%d%H%M%S -l -d "$MNTPOINTRO/$OSDIR/$LONGNAME"|awk '{print $6; }')
|
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 "$filtime $LONGNAME" > /dev/null; then
|
if echo "$LSROUT" | grep -F "$filetime $LONGNAME" > /dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
echo LONG TIME FAIL
|
echo LONG TIME FAIL
|
||||||
|
|||||||
Reference in new issue
Block a user