This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
J. Wied 2026-06-12 Tekel This is a program for testing command-line programs. Tutorial Suppose, you rewrote echo in Rust. Now you want to test it. E.g. echo -n hello should produce hello . Make a directory named as your program with arguments: mkdir 'echo -n' Create an input file for each case you want to test: touch 'echo -n hello' Create a file containing the expected output: printf "hello"…
2026-06-12
Tekel
This is a program for testing command-line programs.
Tutorial
Suppose, you rewrote echo in Rust.
Now you want to test it.
E.g. echo -n hello should produce “hello”.
Make a directory named as your program with arguments:
mkdir 'echo -n'
Create an input file for each case you want to test:
touch 'echo -n/hello'
Create a file containing the expected output:
printf "hello" > 'echo -n/hello.out'
Test your new echo:
tekel 'echo -n'
Dependencies
Download
tekel
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.