summaryrefslogtreecommitdiff
path: root/gnulib/tests/test-binary-io.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/tests/test-binary-io.sh')
m---------gnulib0
-rwxr-xr-xgnulib/tests/test-binary-io.sh12
2 files changed, 12 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/tests/test-binary-io.sh b/gnulib/tests/test-binary-io.sh
new file mode 100755
index 0000000..272edef
--- /dev/null
+++ b/gnulib/tests/test-binary-io.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+tmpfiles=""
+trap 'rm -fr $tmpfiles' 1 2 3 15
+
+tmpfiles="$tmpfiles t-bin-out1.tmp t-bin-out2.tmp"
+./test-binary-io${EXEEXT} > t-bin-out1.tmp || exit 1
+cmp t-bin-out1.tmp t-bin-out2.tmp > /dev/null || exit 1
+
+rm -fr $tmpfiles
+
+exit 0