Split logs into test cases to prevent overwriting

refs #2907

Change-Id: Ia7ca07fe0d7cd7428dbba5db443e87983aaaca3f
diff --git a/test_nfdc/include.sh b/test_nfdc/include.sh
index 4e92a89..4319e9f 100755
--- a/test_nfdc/include.sh
+++ b/test_nfdc/include.sh
@@ -9,10 +9,10 @@
 
 start_nfd() {
   # start nfd on localhost
-  sudo nfd &> $workdir/logs/nfd.log &
+  sudo nfd &> $workdir/logs/$1/nfd.log &
 
   # start nfd on hostB
-  ssh $CTRL_B "mkdir -p $workdir/logs ; sudo nfd &> $workdir/logs/nfd.log &\
+  ssh $CTRL_B "mkdir -p $workdir/logs/$1 ; sudo nfd &> $workdir/logs/$1/nfd.log &\
     sleep 2"
   sleep 2
 }