Changes: Correct file path and dir path for applications started by booster-m

RevBy: Juha Lintula
pull/1/head
Alexey Shilov 14 years ago
parent d8f5157f42
commit 8a895a8e18

3
debian/changelog vendored

@ -7,8 +7,9 @@ applauncherd (3.0.1) unstable; urgency=low
* Changes: single-instance library writes log messages to syslog instead of stderr * Changes: single-instance library writes log messages to syslog instead of stderr
* Changes: testcases added/fixed for code coverage * Changes: testcases added/fixed for code coverage
* Changes: Fix python broken pipe randomly happened for Popen * Changes: Fix python broken pipe randomly happened for Popen
* Changes: Correct file path and dir path for applications started by booster-m
-- Alexey Shilov <alexey@trdhcp147241> Mon, 14 Nov 2011 13:39:38 +0200 -- Alexey Shilov <alexey.shilov@nokia.com> Mon, 14 Nov 2011 13:39:38 +0200
applauncherd (2.0.14) unstable; urgency=low applauncherd (2.0.14) unstable; urgency=low

@ -117,4 +117,8 @@ void MBooster::preinit()
char* app_class = qstrdup(appClass.toLatin1().data()); char* app_class = qstrdup(appClass.toLatin1().data());
QApplication::setAppClass(app_class); QApplication::setAppClass(app_class);
// Set the magic attribute so that paths are reinitialized
QApplication::setAttribute(Qt::AA_LinuxReinitPathsFromArgv0, true);
} }

@ -10,9 +10,9 @@
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step> <step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps> </pre_steps>
<!-- case name="applauncherd__test_dirPath_filePath_m" type="Functional" description="Test that correct file path and dir path is passed by booster m" timeout="360" level="System" insignificant="true"> <case name="applauncherd__test_dirPath_filePath_m" type="Functional" description="Test that correct file path and dir path is passed by booster m" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_dirPath_filePath_m</step> <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_dirPath_filePath_m</step>
</case --> </case >
<!--case name="applauncherd__test_stress_boosted_apps" type="Functional" description="Stress test for boosted applications to check only one instance is running." timeout="360" level="System" insignificant="true"> <!--case name="applauncherd__test_stress_boosted_apps" type="Functional" description="Stress test for boosted applications to check only one instance is running." timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_stress_boosted_apps</step> <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_stress_boosted_apps</step>

Loading…
Cancel
Save