Megatest

View Ticket
Login
2014-02-13
10:59 New ticket [f1ce13e29b] setlog crashes if run in wrong directory.. artifact: fd10806032 user: matt

Ticket Hash: f1ce13e29bf5a0c0b7e09d03455e6a02e8fe0e2a
Title: setlog crashes if run in wrong directory.
Status: Open Type: Code_Defect
Severity: Critical Priority:
Subsystem: Resolution:
Last Modified: 2014-02-13 10:59:25
Version Found In: v1.5514
Description:
chlr12706> megatest -step showresults -setlog results.html :state end :status 0
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Error: (current-directory) cannot retrieve current directory

        Call history:

        megatest.scm:316: args:get-arg    
        margs.scm:17: hash-table-ref/default      
        megatest.scm:333: args:get-arg    
        margs.scm:17: hash-table-ref/default      
        megatest.scm:348: hash-table-keys         
        megatest.scm:346: lset-intersection       
        megatest.scm:352: setup-for-run   
        launch.scm:422: hash-table?       
        launch.scm:425: args:get-arg      
        margs.scm:17: hash-table-ref/default      
        launch.scm:427: get-environment-variable          
        launch.scm:424: find-and-read-config      
        configf.scm:253: ##sys#get-keyword        
        configf.scm:253: ##sys#get-keyword        
        configf.scm:253: ##sys#get-keyword        
        configf.scm:254: current-directory              <--
chlr12706> cd $PWD
chlr12706> megatest -step showresults -setlog results.html :state end :status 0