summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/top2049/m24c01.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/top2049/m24c01.test b/tests/top2049/m24c01.test
new file mode 100644
index 0000000..25aa07d
--- /dev/null
+++ b/tests/top2049/m24c01.test
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+test_init()
+{
+ request_DUT "m24c01dip8" || return 1
+ return 0
+}
+
+test_run()
+{
+ toprammer --write-eeprom "$testfile_128"
+ toprammer --read-eeprom "$tmpfile"
+ compare_files "$testfile_128" "$tmpfile" || die "EEPROM mismatch"
+}
bues.ch cgit interface