diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1489de7..72df406 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -49,3 +49,6 @@ test: check
stresstest: check
./unittests.pl stresstests.cfg
+
+iotest: check
+ ./unittests.pl iotests.cfg
diff --git a/tests/iotests.cfg b/tests/iotests.cfg
new file mode 100644
index 0000000..84efabc
--- /dev/null
+++ b/tests/iotests.cfg
@@ -0,0 +1,46 @@
+# -*-html-*-
+#
+# This file is part of Pretty Curved Privacy (pcp1).
+#
+# Copyright (C) 2013 T.Linden.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# You can contact me by mail: .
+#
+
+pcp = ../src/pcp1
+vault = v1
+passwd = xxx
+md5msg = 66b8c4ca9e5d2a7e3c0559c3cdea3d50
+
+include keys.cfg
+
+
+
+ cmd = which mdmfs
+ expect = /mdmfs/
+
+
+ cmd = ls $pcp
+ expect = /pcp/
+
+
+
+# this one only works on freebsd for my user. sorrry
+
+ prepare = sudo mdmfs -s 1M -w 1001:1001 md env && dd if=/dev/zero of=env/b bs=1024 count=700
+ cmd = ./jot 100 | while read N; do if ! (echo a; echo b) | $pcp -V env/v1 -k -x x; then break; fi; done
+ expect = /Failed to copy/
+
diff --git a/tests/unittests.cfg b/tests/unittests.cfg
index f5fe16c..f408745 100644
--- a/tests/unittests.cfg
+++ b/tests/unittests.cfg
@@ -28,10 +28,6 @@ md5msg = 66b8c4ca9e5d2a7e3c0559c3cdea3d50
include keys.cfg
-
- cmd = which mdmfs
- expect = /mdmfs/
-
cmd = ls $pcp
expect = /pcp/
@@ -471,12 +467,7 @@ dxmorg@florida.cops.gov
expect = /ok/
-# this one only works on freebsd for my user. sorrry
-
- prepare = sudo mdmfs -s 1M -w 1001:1001 md env && dd if=/dev/zero of=env/b bs=1024 count=700
- cmd = ./jot 100 | while read N; do if ! (echo a; echo b) | $pcp -V env/v1 -k -x x; then break; fi; done
- expect = /Failed to copy/
-
+
#
# input handling tests