Megatest

Check-in [e89be5432c]
Login
Overview
Comment:Unset TARGET* vars before starting the real work in nbfake
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.55
Files: files | file ages | folders
SHA1: e89be5432c6ca80720685b3fe3a2f8d0402baab6
User & Date: mrwellan on 2014-08-13 13:57:38
Other Links: branch diff | manifest | tags
Context
2014-09-09
10:42
Removing zmq from chicken build script check-in: 91fd288f45 user: matt tags: v1.55
2014-08-13
16:13
Merged in v1.55 changes check-in: f870afe4d0 user: mrwellan tags: v1.60
13:57
Unset TARGET* vars before starting the real work in nbfake check-in: e89be5432c user: mrwellan tags: v1.55
2014-08-05
00:09
Added bit more to datashare check-in: 8e9852ca99 user: matt tags: v1.55
Changes

tests/installall/config/megatest.config.dat became a regular file with contents [736a5da885].

tests/installall/config/runconfigs.config.dat became a regular file with contents [3b8f260acb].

Modified utils/nbfake from [6962f03891] to [99a526d022].

1
2
3
4
5
6
7
8
9
10
11
12
13



14

15
16
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

17
18
19
20













+
+
+
-
+



#!/bin/bash

# Can't always trust $PWD
CURRWD=`pwd`
if [[ $TARGETHOST_LOGF == "" ]]; then
    TARGETHOST_LOGF=NBFAKE-`date +%GWW%V.%u_%T`
fi
echo "#======================================================================"
echo "# NBFAKE Running command:"
echo "#     \"$*\""
echo "#======================================================================"

if [[ $TARGETHOST == ""  ]]; then
  unset TARGETHOST
  TARGETHOST_LOGF_TEMP=$TARGETHOST_LOGF
  unset TARGETHOST_LOGF
  sh -c "cd $CURRWD;export DISPLAY=$DISPLAY; export PATH=$PATH; nohup $* > $TARGETHOST_LOGF 2>&1 &"
  sh -c "cd $CURRWD;export DISPLAY=$DISPLAY; export PATH=$PATH; nohup $* > $TARGETHOST_LOGF_TEMP 2>&1 &"
else
  ssh -n -f $TARGETHOST "sh -c \"cd $CURRWD;export DISPLAY=$DISPLAY; export PATH=$PATH; nohup $* > $TARGETHOST_LOGF 2>&1 &\""
fi