aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-04-15 13:35:31 +0000
committermerakor <cem@ckyln.com>2021-04-15 13:35:31 +0000
commit32fc7163d87f8fd5544cbc97dc8973c68e7fc24a (patch)
tree5b48fed234dc6db0121264748f9e1e3778926d58 /spec
parente64ca397b4343502d72977fc791b8c968db17598 (diff)
parentc73369c07f7a21701b5f4801081a92602bda81ca (diff)
downloadcpt-32fc7163d87f8fd5544cbc97dc8973c68e7fc24a.tar.gz
merge maintenance branch
FossilOrigin-Name: 5e6005b5ed08fa564e6cf6eff4c721ffa2c1992214a0057dad69af5fe04cc27b
Diffstat (limited to 'spec')
-rw-r--r--spec/01_lib_spec.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/01_lib_spec.sh b/spec/01_lib_spec.sh
index 581ba70..0ff2752 100644
--- a/spec/01_lib_spec.sh
+++ b/spec/01_lib_spec.sh
@@ -186,16 +186,12 @@ Describe 'CPT Library'
The variable CPT_HOOK should eq "$PWD/tests/hook-file"
End
End
- Describe 'create_cache()'
+ Describe 'create_tmp()'
After pkg_clean
It 'creates cache directories'
- When call create_cache
+ When call create_tmp
The variable mak_dir should be a directory
End
- It "doesn't create build directories if an argument is passed"
- When call create_cache nobuild
- The variable mak_dir should be undefined
- End
End
Describe 'pkg_get_base()'
CPT_ROOT=$PWD/tests