anchor.diff:  # Update: 2014-10-15, Kyle Fu. Add bash bug check.
   # Update: 2014-10-16, Kyle Fu. Add script path and puppet last run.
   # Update: 2014-10-27, Kyle Fu. Add CCStatus.
  +# Update: 2015-04-01, Kyle Fu. Upload QAS info to Insight.
   
   PATH=/usr/afsws/bin:$PATH
  +Dispatcher_URL="http://cnsh.insight.rnd.ericsson.se/dispatcher/doc/create"
  +QAS_Store="test-kyle-QAS"
   
   #####################################################################
   # Parse commandline
  
positive.code:       HomeMount="`su - $testaccount -c 'df -k ~' | egrep -v 'Sun Microsystems Inc|Oracle Corporation' | head -2 | tail -1 | cut -d':' -f1`"
     fi
     ProjMount="`df -k /proj/$testproj/ | head -2 | tail -1 | cut -d':' -f1`"
  else
     QASVersion="NoQAS"
     QASStatus="Skip"
  
negative.code: #####################################################################
  # Check for writeable directory for our output
  Hostname=`uname -n | cut -d"." -f1` # Hostname used inside ()
  OutputDir=/proj/cnshrepo/statuscheck/
  LocalInsightStatus=/var/tmp/$Hostname.InsightStatus
  LocalReportFile=/var/tmp/$Hostname.FunctionReport
  ReportFile=/proj/cnshrepo/statuscheck/logs/$Hostname.report
  InsightStatus=/proj/cnshrepo/statuscheck/insightstatus/$Hostname
  # Check for writability
  touch $ReportFile
  if [ $? -ne 0 ]; then
  