mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-05 06:29:02 +00:00
13 lines
226 B
Bash
13 lines
226 B
Bash
|
|
setup_testcp () {
|
||
|
|
if [ -d "$HOME/testcp" ]; then
|
||
|
|
echo "Test cannot run if testcp already exists"
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
|
||
|
|
mkdir ~/testcp
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
cleanup_testcp () {
|
||
|
|
rm -rf "$HOME/testcp" || rmdir "$HOME/testcp"
|
||
|
|
}
|