aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/charasbytes.awk1
-rw-r--r--test/charasbytes.in1
-rw-r--r--test/charasbytes.ok3
3 files changed, 5 insertions, 0 deletions
diff --git a/test/charasbytes.awk b/test/charasbytes.awk
new file mode 100755
index 00000000..feb195c8
--- /dev/null
+++ b/test/charasbytes.awk
@@ -0,0 +1 @@
+{ print gensub(/\xE2\x80./, "ZZZ", "g", $0) }
diff --git a/test/charasbytes.in b/test/charasbytes.in
new file mode 100644
index 00000000..4a8d4a1e
--- /dev/null
+++ b/test/charasbytes.in
@@ -0,0 +1 @@
+–
diff --git a/test/charasbytes.ok b/test/charasbytes.ok
new file mode 100644
index 00000000..a1702e64
--- /dev/null
+++ b/test/charasbytes.ok
@@ -0,0 +1,3 @@
+0000000 Z Z Z \n
+ 5a 5a 5a 0a
+0000004