Hi guys,

Does anybody know if there is a way to create a plugin to verify all
scripts running during the transaction? If some command inside is
failing.

Why am I asking that? Because we are running some tests to validate
some RPM packages here and it would be nice if the plugin verifies
command errors during the scripts (%pretrans, %post, %posttrans, etc)
execution.

I know that we can test it using RPMTransaction but sometimes we
cannot check if the script is failing.

A good example would be the command "set -e" at the beginning of the scripts.
If we can force this command.

Thanks...

--
Julio Cesar Faracco
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to