#
# $Id: ubcd32-hd-diag-western1,v 1.1 2009-02-19 12:24:08 potyra Exp $
#
cdrom_insert	ubcd32-full.iso
power_on
#
# Start utility by typing <F2> " " <F7>.
#
wait_asc	Main Menu				1min
type		"\11"
wait_asc	1/5					1min
type		" "
wait_asc	2/5					1min
type		"\16"
#
# Wait for "Press ENTER To View License Agreement...".
# Type <return>.
#
wait_asc	Press ENTER To View License Agreement	5min
type		"\0d"
#
# Wait for "WESTERN DIGITAL CORPORATION LICENSE AGREEMENT...".
# Type "Y".
#
wait_asc	WESTERN DIGITAL CORPORATION LICENSE AGREEMENT	1min
type		"Y"
#
# Wait for "FAUmachine IDE".
# Select "Quick Test" by typing <Arrow-Down> <Return>.
#
wait_asc	FAUmachine IDE				1min
type		"\1f"
type		"\0d"
#
# Wait for "Press Any Key To Continue".
# Type <Return>.
#
wait_asc	Press Any Key To Continue		1min
type		"\0d"
#
# Wait for "... not a Western Digital drive ...".
# Type <Return>.
#
wait_asc	not a Western Digital drive		1min
type		"\0d"
#
# Wait for "Quit".
# Select "Quit" by typing <Arrow-Down> <Arrow-Down> <Arrow-Down> <Arrow-Down> <Arrow-Down> <Arrow-Down> <Arrow-Down> <Arrow-Down> <Return>.
#
wait_asc	Quit					1min
type		"\1f"
type		"\1f"
type		"\1f"
type		"\1f"
type		"\1f"
type		"\1f"
type		"\1f"
type		"\1f"
type		"\0d"
#
# Wait for "Hit CTL-ALT-DEL or turn off power...".
#
wait_asc	Hit CTL-ALT-DEL or turn off power	1min
power_off
