]> git.stg.codes - stg.git/blobdiff - functest/test.sh
Make time-sensitive tests in local machine time.
[stg.git] / functest / test.sh
index a463568f075075d5e64abb5acfd873a92dd7e466..35bb62d9b6d0d598b7fd7b9f3131642e6d0d5800 100755 (executable)
@@ -16,7 +16,7 @@ then
     exit -1
 fi
 
     exit -1
 fi
 
-STGPATH="$BASEPATH/stg/projects/stargazer"
+STGPATH="$BASEPATH/stg/build/projects/stargazer"
 
 cp "stuff/stargazer-files.conf" "$STGPATH/stargazer.conf"
 cp "stuff/rules" "$STGPATH/"
 
 cp "stuff/stargazer-files.conf" "$STGPATH/stargazer.conf"
 cp "stuff/rules" "$STGPATH/"
@@ -98,4 +98,6 @@ do
     sleep 1
 done
 
     sleep 1
 done
 
+cp "$STGPATH/stargazer.log" "$CURPATH/stargazer.log"
+
 printf "Stopped.\n"
 printf "Stopped.\n"