Blame tests/p_coreutils/cat.sh

Alice Kaerast a5b9f7
#!/bin/bash
Alice Kaerast a5b9f7
# Author: Alice Kaerast <alice@kaerast.info>
Alice Kaerast a5b9f7
Alice Kaerast a5b9f7
t_Log "$0 test cat command"
Alice Kaerast a5b9f7
Alice Kaerast a5b9f7
cat > /var/tmp/cat-test <
Alice Kaerast a5b9f7
file 1
Alice Kaerast a5b9f7
EOF
Alice Kaerast a5b9f7
grep -q "file 1" /var/tmp/cat-test
Alice Kaerast a5b9f7
Alice Kaerast a5b9f7
echo "file 2" > /var/tmp/cat-test2 && grep -q "file 2" /var/tmp/cat-test2 
Alice Kaerast a5b9f7
t_CheckExitStatus $?
Alice Kaerast a5b9f7
Alice Kaerast a5b9f7
rm /var/tmp/cat-test