I have a suite of CTests that install and test our product on Ubuntu.
The installer requires sudo to run. I have been running the whole suite as sudo, which is not a great idea.
So I have toyed with trying to run just the installer with sudo, but no luck so far.
I configured sudo to run without asking for a password and that runs fine. But these CTest COMMANDS do not: add_test(NAME install COMMAND sudo ./vainstall aParameter ) add_test(NAME install COMMAND "sudo ./vainstall aParameter" ) What am I doing wrong? Thanks in advance. -- Donald [|] A bad day in [] is better than a good day in {}. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake