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