[Asterisk-code-review] runInVenv: Remove output redirection. (testsuite[20])

N A asteriskteam at digium.com
Wed Sep 7 07:32:02 CDT 2022


N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/19083 )


Change subject: runInVenv: Remove output redirection.
......................................................................

runInVenv: Remove output redirection.

runInVenv.sh calls setupVenv.sh and redirects all
output to /dev/null, which means if an error occurs
we will never know about it. This removes stderr
redirection so the user will know what went wrong.

ASTERISK-30206 #close

Change-Id: I79b32c5374d142688ef4fa26990628aa9c3fcf36
---
M runInVenv.sh
1 file changed, 17 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/83/19083/1

diff --git a/runInVenv.sh b/runInVenv.sh
index 0a47151..8b280b2 100755
--- a/runInVenv.sh
+++ b/runInVenv.sh
@@ -16,7 +16,7 @@
 if [ $REINSTALL -eq 1 ] ; then
     echo "Reinstall required, removing and recreating venv"
 	rm -rf .venv
-    ./setupVenv.sh > /dev/null 2>&1
+    ./setupVenv.sh > /dev/null
 
 fi
 

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/19083
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 20
Gerrit-Change-Id: I79b32c5374d142688ef4fa26990628aa9c3fcf36
Gerrit-Change-Number: 19083
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220907/023026b8/attachment.html>


More information about the asterisk-code-review mailing list