4 .
"@builddir@/grub-core/modinfo.sh"
6 case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
7 # FIXME: OpenBIOS on sparc64 doesn't implement RTC
10 # PLATFORM: ARC doesn't provide any way to set time
13 # PLATFORM: EMU doesn't provide any way to set time
14 # Even if it did we'd need some kind of sandbox to avoid
15 # modifying real system time.
20 out
=$
(cat <<EOF | @builddir@/grub-shell
23 if [ \$YEAR = 2004 -a \$MONTH = 4 -a \$DAY = 4 -a \$HOUR = 20 -a \$MINUTE = 47 ]; then
27 date 2004-04-04 20:47:00
32 if [ "$(echo "$out" | tail -n 1)" != "Hello World" ]; then
33 echo "Test failed: $out"