#359 Add unit test to the automount loader
Closed: Fixed None Opened 13 years ago by dpal.

[ayoung@ipa freeipa]$ echo BLAH > /tmp/automount.garbage
[ayoung@ipa freeipa]$ ipa  automountlocation-import /tmp/automount.garbage
Master file:
[ayoung@ipa freeipa]$ ipa  automountlocation-import default /tmp/automount.garbage
ipa: ERROR: non-public: IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ipalib/backend.py", line 125, in execute
    result = self.Command[_name](*args, **options)
  File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 401, in __call__
    ret = self.run(*args, **options)
  File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 675, in run
    return self.forward(*args, **options)
  File "/usr/lib/python2.6/site-packages/ipalib/plugins/automount.py", line 358, in forward
    if am[1].startswith('/'):
IndexError: list index out of range
ipa: ERROR: an internal error has occurred

Metadata Update from @dpal:
- Issue assigned to jhrozek
- Issue set to the milestone: FreeIPA 2.0 - 2010/12 (FC)

7 years ago

Login to comment on this ticket.

Metadata