Opened 12 years ago
Last modified 10 years ago
#1209 new defect
IZ268: user_permissions test checks qmaster_spooldir in a wrong way
Reported by: | pollinger | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | testsuite | Version: | current |
Severity: | Keywords: | tests | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=268]
Issue #: 268 Platform: All Reporter: pollinger (pollinger) Component: testsuite OS: All Subcomponent: tests Version: current CC: None defined Status: RESOLVED Priority: P3 Resolution: FIXED Issue type: DEFECT Target milestone: milestone 1 Assigned to: issues@testsuite QA Contact: joga URL: * Summary: user_permissions test checks qmaster_spooldir in a wrong way Status whiteboard: Attachments: Issue 268 blocks: Votes for issue 268: Vote for this issue Opened: Tue Dec 2 04:56:00 -0700 2008 ------------------------ The user_permissions test checks if it can "cd" to the qmaster_spooldir, and then it checks if "pwd" is the qmaster_spooldir. Unfortunately, it starts two seperate processes to run these two commands, so it works only coincidentially. Suggested Fix: The "start_remote_prog" function does the "cd" by itself if the right parameter is provided, so just run "pwd" remotely with the right "cd"-parameter. ------- Additional comments from pollinger Tue Dec 2 05:08:29 -0700 2008 ------- In fact, the start_remote_prog call already uses the "cd" parameter, but it switches to the wrong directory. Furthermore, the error message prints the wrong host. ------- Additional comments from pollinger Tue Dec 2 05:21:47 -0700 2008 ------- Fixing this bug ------- Additional comments from pollinger Tue Dec 2 05:37:18 -0700 2008 ------- Fixed the bug by using the right variable which contains the qmaster_spooldir.
Note: See
TracTickets for help on using
tickets.