Ticket Hash: | 000ce7b671ccbdf44bdc9765fd557f3968bf3569 | |||
Title: | megatests should confirm tests is a directory before looking for tests | |||
Status: | Closed | Type: | Code_Defect | |
Severity: | Minor | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2015-06-13 23:57:27 | |||
Version Found In: | 1.6012+ | |||
User Comments: | ||||
tal added on 2015-06-02 19:44:00:
megatest should confirm that directories in tests-paths are directories before looking for tests. To duplicate, make MT_RUN_AREA_HOME a file instead of link. Sample stack dump: Error: (directory) cannot open directory - Not a directory: "/nfs/site/disks/icf_fdk_centos002/rhqa/connected/p1271/megatestqa/vacatqa/tests" Call history: tests.scm:57: glob tests.scm:51: g435 tests.scm:52: string-split tests.scm:52: last tests.scm:53: conc tests.scm:54: hash-table-ref/default tests.scm:55: file-exists? tests.scm:56: hash-table-set! tests.scm:60: loop tests.scm:50: file-exists? tests.scm:60: loop tests.scm:50: file-exists? tests.scm:60: loop tests.scm:50: file-exists? tests.scm:57: conc tests.scm:57: glob <-- matt added on 2015-06-14 05:57:27: Added filter to remove paths that are not directories and warn user. |