Save stc temp logs in the stc folder
There was an issue when OCN was set to localhost. As part of Net-Smoke,
the command 'mn -c' is run which removes '/tmp/*.log'. This potentially
caused some tests to fail.
Change-Id: If68c184902b994e1ee38ea775c378ce29cdb891f
(cherry picked from commit a67dc45535c7b0b8ea6f246a10c1f2e4e18abb83)
diff --git a/tools/test/bin/onos-check-intent b/tools/test/bin/onos-check-intent
index 38b8aea..615bf52 100755
--- a/tools/test/bin/onos-check-intent
+++ b/tools/test/bin/onos-check-intent
@@ -6,7 +6,7 @@
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
-aux=/tmp/stc-$$.log
+aux=/tmp/stc/stc-$$.log
trap "rm -f $aux 2>/dev/null" EXIT
target=${1:-$OCI}