xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/dict_utf8_test.in (revision f3bc92a4f25066883a5d85d66df30605583c883c)
1#!/bin/sh
2
3LC_ALL=C awk 'BEGIN {
4	print "flags"
5	print "verbose"
6	printf "get foo\n"
7	printf "put Δημοσθένους.example.com aaa\n"
8	printf "get Δημοσθένους.example.com\n"
9	printf "put %c%c%c xxx\n", 128, 128, 128
10	printf "get %c%c%c\n", 128, 128, 128
11	printf "put xxx %c%c%c\n", 128, 128, 128
12	printf "get xxx\n"
13	exit
14}' | ${VALGRIND} ./dict_open internal:whatever write utf8_request
15