/usr/share/faumachine/experiments/test-pci-vhdl-con/generate is in faumachine-data 20110812-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | #
# $Id: generate,v 1.7 2011-01-25 12:12:59 potyra Exp $
#
cdrom_insert Debian-5.0r0-amd64-DVD-1
#
# Power-on node.
#
power_on
#
# wait for bios detecting the card
#
wait_asc beaf dead 1min
#
# wait for "Installer"
#
wait_ppm 01-install.png 2min
type "\0d"
#
# wait for "language"
#
wait_asc language 5min
#
# switch to tty2
#
press_ctrl
press_alt
type "\11"
release_ctrl
release_alt
#
# wait for "Press Enter ..."
#
wait_asc press Enter 1min
type "\0d"
#
# wait for shell prompt
#
wait_asc ~ 1min
#
# remove debian dvd
#
cdrom_remove
cdrom_insert cdrom.iso
#
# mount the iso
#
type "mount -t iso9660 /dev/hdc /mnt\0d"
#
# perform self-test
#
type "/mnt/test.bin d020 --self-test\0d"
wait_asc self-test completed successfully 2min
#
# play song
#
type "/mnt/test.bin d020\0d"
wait_asc Playing done 4min
#
# FIXME need to wait until audio buffer is flushed
#
delay 30sec
#
# test end.
#
|