This repository has been archived on 2024-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
bunc/test/test-color.sh

14 lines
276 B
Bash
Raw Normal View History

2018-01-06 06:02:41 +00:00
#!/bin/bash
source ../lib/msg.sh
source ../lib/color.sh
_msg ECHO "Begin color.sh test"
for cmd in fg bfg bg; do
for col in ${coloptArray[@]}; do
echo "Testing _color $(_color ${cmd} ${col})${cmd} ${col}$(_color rs)"
done
done
_msg ECHO "End color.sh test"