* tests/grub_cmd_date.in: Skip on sparc64.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-15 01:54:23 +02:00
parent fa7d914e6c
commit 88017d47a9
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-04-15 Vladimir Serbinenko <phcoder@gmail.com>
* tests/grub_cmd_date.in: Skip on sparc64.
2013-04-15 Vladimir Serbinenko <phcoder@gmail.com>
* tests/grub_script_expansion.in: Use fixed-string grep to skip over

View file

@ -1,6 +1,13 @@
#! /bin/bash
set -e
. "@builddir@/grub-core/modinfo.sh"
# OpenBIOS on sparc64 doesn't implement RTC
if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = sparc64-ieee1275 ]; then
exit 0
fi
pdt="$(date -u +%s)"
dt=`echo date | @builddir@/grub-shell`
dtg="$(date -u -d "$dt" +%s)"