aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-06 11:55:50 +0000
committermerakor <cem@ckyln.com>2021-01-06 11:55:50 +0000
commit12a4321bfdc98c3bf7b1440077c1a09c9f4e3eec (patch)
treec80ce1ecb58bdfce878cb4be30b21913d4a58786 /spec
parent3b4066c8578048927cf6af8fdde8fb912cb3392a (diff)
downloadcpt-12a4321bfdc98c3bf7b1440077c1a09c9f4e3eec.tar.gz
shellspec: fix install_dummy function
FossilOrigin-Name: 6ee23d2f9956dd0f3c13e45c281b754bf7e9c850f10c778def5d48cad26277a3
Diffstat (limited to 'spec')
-rw-r--r--spec/02_src_spec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/02_src_spec.sh b/spec/02_src_spec.sh
index b97fe3c..57c248f 100644
--- a/spec/02_src_spec.sh
+++ b/spec/02_src_spec.sh
@@ -2,7 +2,7 @@ Describe 'Main toolchain'
export PATH=$PWD/src:$PATH
export CPT_ROOT=$PWD/tests
export CPT_PATH=$PWD/tests/repository
- install_dummy() { CPT_HOOK='' ./src/cpt bi dummy-pkg ;}
+ install_dummy() { CPT_HOOK='' ./src/cpt bi dummy-pkg >/dev/null 2>&1 ;}
remove_dummy() { rm -rf "${CPT_ROOT:?}/var" ;}
BeforeAll install_dummy
AfterAll remove_dummy