diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-05-31 18:30:10 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-06-03 10:09:24 +0200 |
commit | 3626877554b6c567d43336ec49414cedfe487260 (patch) | |
tree | f80c51ec1867fea029b955d85e89e39017f920e3 /test/proto/test.sh | |
download | hello-nix-3626877554b6c567d43336ec49414cedfe487260.tar.gz |
Initial commit
Diffstat (limited to 'test/proto/test.sh')
-rw-r--r-- | test/proto/test.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/proto/test.sh b/test/proto/test.sh new file mode 100644 index 0000000..fbd946b --- /dev/null +++ b/test/proto/test.sh @@ -0,0 +1,12 @@ +set -e + +./write FOO 42 data.bin 2>&1 + +echo +echo Binary encoding +xxd data.bin + +echo +echo Verifying read +./read data.bin | grep foo=FOO +./read data.bin | grep bar=42 |