summaryrefslogtreecommitdiffstats
path: root/tests/top2049/005-m24c08.test
blob: 7c05282fd0aed3e9e2a7680eab13f11b7af04943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

function test_init
{
	request_DUT "m24c08dip8" || return 1
	return 0
}

function test_run
{
	local args="-c m24c08dip8 -I bin -O bin"

	toprammer $args --write-eeprom "$testfile_1k"
	toprammer $args --read-eeprom "$tmpfile"
	compare_files "$testfile_1k" "$tmpfile" || die "EEPROM mismatch"
}
bues.ch cgit interface