octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59039] test failure with pathdef.m on Windows


From: Rik
Subject: [Octave-bug-tracker] [bug #59039] test failure with pathdef.m on Windows 10
Date: Mon, 31 Aug 2020 20:11:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

Follow-up Comment #2, bug #59039 (project octave):

To debug this, could you modify pathdef.m and put a line


keyboard;


at the top of this BIST test and then run


test pathdef


You will get thrown to the Octave prompt and then you can use "dbnext" to step
through the code.  I notice that we don't check the return code for "mkdir". 
It is possible that there is a permissions issue that prevents you making a
directory in the system-wide TMP folder and that once this command fails the
rest of the test is destined to fail.

Another possibility is that the directory separation character is different
between tempname() and addpath.  For example,


addpath ('c:/tmp')


may get turned in to the canonical 'c:\tmp' in the listing from path() and so
strfind fails.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59039>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]