bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_coreutils/basename.sh

Alice Kaerast a5b9f7
#!/bin/bash
Alice Kaerast a5b9f7
# Author: Alice Kaerast <alice@kaerast.info>
Alice Kaerast a5b9f7
Alice Kaerast a5b9f7
t_Log "$0 testing basename"
Alice Kaerast a5b9f7
Alice Kaerast a5b9f7
basename $0 | grep -q basename.sh || exit 1
Alice Kaerast a5b9f7
basename /etc/hosts | grep -q hosts
Alice Kaerast a5b9f7
t_CheckExitStatus $?
Alice Kaerast a5b9f7