RSS Amplifier

J. Wied · Jun 12, 2026

Tekel

0
Sign in to vote or save

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”.

  1. Make a directory named as your program with arguments:

    mkdir 'echo -n'

  2. Create an input file for each case you want to test:

    touch 'echo -n/hello'

  3. Create a file containing the expected output:

    printf "hello" > 'echo -n/hello.out'

  4. Test your new echo:

    tekel 'echo -n'

Dependencies

  • git
  • perl

Download

tekel

Read on /tekel.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.