"Fossies" - the Fresh Open Source Software Archive

Member "calcurse-4.5.1/test/run-test-001.sh" (5 Jan 2019, 131 Bytes) of package /linux/privat/calcurse-4.5.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 . "${TEST_INIT:-./test-init.sh}"
    4 
    5 if [ "$1" = 'actual' -o "$1" = 'expected' ]; then
    6   echo 42
    7 else
    8   ./run-test "$0"
    9 fi