]> mj.ucw.cz Git - libucw.git/commitdiff
MD5: The rest of the test suite
authorMartin Mares <mj@ucw.cz>
Tue, 30 Oct 2012 20:27:45 +0000 (21:27 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 30 Oct 2012 20:27:45 +0000 (21:27 +0100)
ucw/md5.t [new file with mode: 0644]

diff --git a/ucw/md5.t b/ucw/md5.t
new file mode 100644 (file)
index 0000000..d3c7a0c
--- /dev/null
+++ b/ucw/md5.t
@@ -0,0 +1,9 @@
+# Tests of the MD5 module
+
+Name:  MD5-1
+Run:   echo -n "abc" | ../obj/ucw/md5-t
+Out:   900150983cd24fb0d6963f7d28e17f72
+
+Name:  MD5-2
+Run:   echo -n "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" | ../obj/ucw/md5-t
+Out:   8215ef0796a20bcaaae116d3876c664a