You seem to be opening file1 instead of file.  The way you're catching
the exception is covering up the problem. You may also want to specify
the exception to catch.

//geoff

On Thu, Nov 7, 2013 at 7:55 AM, Unix SA <[email protected]> wrote:
> Hello Guys, I am trying to write simple test script in autotest .. my
> requirement is to check /etc/inittab in RHEL 5 or
> /etc/init/control-alt-delete.conf in RHEL 6.4 and confirm if ctrl alt del
> option is disabled or not
>
> i tried http://pastebin.com/ZQmFrkqR
>
> but not sure it's failing and gives exceptions and raise this message,
> "Missing /etc/inittab or /etc/init/control-alt-delete.conf')"
>
> _______________________________________________
> Autotest-kernel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/autotest-kernel

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to