equal
deleted
inserted
replaced
692 if not os.access(testpath, os.X_OK): |
692 if not os.access(testpath, os.X_OK): |
693 return skip("not executable") |
693 return skip("not executable") |
694 runner = shtest |
694 runner = shtest |
695 |
695 |
696 # Make a tmp subdirectory to work in |
696 # Make a tmp subdirectory to work in |
697 testtmp = os.environ["TESTTMP"] = os.path.join(HGTMP, test) |
697 testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ |
|
698 os.path.join(HGTMP, test) |
|
699 |
698 os.mkdir(testtmp) |
700 os.mkdir(testtmp) |
699 os.chdir(testtmp) |
701 os.chdir(testtmp) |
700 |
702 |
701 if options.timeout > 0: |
703 if options.timeout > 0: |
702 signal.alarm(options.timeout) |
704 signal.alarm(options.timeout) |