update pbs_snapshot path in TestPBSSnapshot

Description

update following with the absolute path of pbs_snapshot

snap_cmd = ["pbs_snapshot", "-o", target_dir]

snap_path = os.path.join[self.server.pbs_conf["PBS_EXEC"], "sbin", "pbs_snapshot"]
snap_cmd = [snap_path, "-o", target_dir]

however test is still failing with following after that
[pbsroot@x36-64-rhel6 functional]$ sudo -H /opt/pbs/sbin/pbs_snapshot -o /tmp
Traceback (most recent call last):
File "/opt/pbs/unsupported/fw/bin/pbs_snapshot.py", line 49, in <module>
from ptl.utils.pbs_snaputils import PBSSnapUtils
File "/opt/pbs/unsupported/fw/ptl/utils/pbs_snaputils.py", line 42, in <module>
import magic
ImportError: No module named magic

Acceptance Criteria

None

Status

Assignee

Ravi Agrawal

Reporter

anamika upadhyay

Severity

3-High

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

High
Configure