aboutsummaryrefslogtreecommitdiffstats
path: root/run_unit_tests.sh
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-01-03 10:38:53 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2017-01-04 15:35:38 +0100
commit1f59d1e080531d333fd0eb4fea0a4714c709da07 (patch)
tree239a7050df8711623db2752e26beb6ab515685c0 /run_unit_tests.sh
parent6d361c6804b85b870add58b5b4a6c7df8e9476d4 (diff)
Use mock_open() to prevent stdout.txt
/home/opnfv is no longer required. Change-Id: Iefb8faf3a7d548f3ae7d4076005d7b0bb93e63e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'run_unit_tests.sh')
-rwxr-xr-xrun_unit_tests.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh
index edce03c1..c18f3cab 100755
--- a/run_unit_tests.sh
+++ b/run_unit_tests.sh
@@ -18,13 +18,6 @@ function clean_results_dir {
# clean it anyway
clean_results_dir
-# TODO clean that...
-# Create log dir if needed
-# log shall be disabled during unit tests
-sudo mkdir -p /home/opnfv/functest/results/odl
-sudo touch /home/opnfv/functest/results/odl/stdout.txt
-sudo chmod -Rf a+rw /home/opnfv
-
# Either Workspace is set (CI)
if [ -z $WORKSPACE ]
then