#!/bin/sh # Note file creation. Eleven note files are created for 6 apps and 6 todos. # To produce a fixed, predictable directory listing it is necessary that the # notes are of different sizes (except for the vevent and vtodo empty note which # is shared). . "${TEST_INIT:-./test-init.sh}" if [ "$1" = 'actual' ]; then mkdir .calcurse && cp "$DATA_DIR/conf" .calcurse || exit 1 "$CALCURSE" -D "$PWD/.calcurse" -i "$DATA_DIR/ical-012.ical" (cd "$PWD/.calcurse/notes/"; cat $(ls -S1)) rm -rf .calcurse || exit 1 elif [ "$1" = 'expected' ]; then cat <