hwsim tests: Move logging into timestamped subdirectory
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Oct 2013 21:08:10 +0000 (22:08 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2013 09:07:26 +0000 (11:07 +0200)
commit958bf1ba3950eff403b261d9e7a41b3f618965f0
tree264b3c519ffc8d395d43f12048dc347e87750ebb
parent435e37df7c0a9817088bb8e2e614d68a61a192d0
hwsim tests: Move logging into timestamped subdirectory

Instead of logging many files called "<timestamp>-*", log into
a new "<timestamp>/*" in the logs/ subdirectory and only put
the last-debug file into logs/. If a LOGDIR is specified in the
environment, instead just put everything into that directory
(so the caller should make sure to give it a timestamp or so)
and skip the creation of last-debug entirely.

Also clean up a bit and pass the LOGDIR from run-all.sh to
start.sh rather than having start.sh create the timestamp and
run-all.sh detect the latest one when having run start.sh.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/run-all.sh
tests/hwsim/start.sh