FEA# 10047 looks more like a bug. Was it intended to be a bug? Regards, Madhu
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ext timoph Sent: Tuesday, November 23, 2010 3:47 PM To: [email protected] Subject: [meego-commits] 9684: Changes to Trunk:Testing/eat Hi, I have made the following changes to eat in project Trunk:Testing. Please review and accept ASAP. Thank You, timoph [This message was auto-generated] --- Request #9684: submit: devel:quality/eat(r34) -> Trunk:Testing/eat Message: Version 0.1.1 - Fixes BMC#10047 State: new 2010-11-23T05:46:57 timoph Comment: None changes files: -------------- --- eat.changes +++ eat.changes @@ -0,0 +1,4 @@ +* Tue 23 Nov 2010 Timo Härkönen <[email protected]> 0.1.1 +- BMC#10047 - [FEA] Correct environment when executing tests (by Timo Mäkimattila) +* Wed 13 Oct 2010 Timo Härkönen <[email protected]> 0.1.0 +- Renamed host side syslog file - fixed BMC#8401 old: ---- eat-0.0.8.tar.gz new: ---- debian.tar.gz eat-0.1.1.tar.gz eat.dsc spec files: ----------- --- eat.spec +++ eat.spec @@ -1,5 +1,5 @@ Name: eat -Version: 0.0.8 +Version: 0.1.1 # build.meego.com proposed patch > Release:7.1 Release:7.1 Summary: Test automation enabler meta packages @@ -78,6 +78,8 @@ cp src/scripts/eat-selftest.sh %{buildroot}/usr/bin/eat-selftest.sh %ifarch arm armv5el armv7l cp src/init/eat-dns %{buildroot}/etc/init.d/eat-dns +mkdir -p %{buildroot}/etc/profile.d +cp src/scripts/eat-env.sh %{buildroot}/etc/profile.d/eat-env.sh %endif %ifarch %{ix86} cp src/init/usbnetworking %{buildroot}/etc/init.d/usbnetworking @@ -167,6 +169,7 @@ %defattr(-,root,root,-) %ifarch arm armv5tel armv7l /etc/init.d/eat-dns +/etc/profile.d/eat-env.sh %endif %ifarch %{ix86} /etc/init.d/usbnetworking @@ -208,4 +211,8 @@ rm /root/.ssh/authorizes_keys fi +if [ -e /etc/profile.d/eat-env.sh ] +then + rm /etc/profile.d/eat-env.sh +fi dsc files: ---------- ++++++ new dsc file: --- eat.dsc +++ eat.dsc +Format: 1.0 +Source: eat +Version: 0.1.1 +Binary: eat-host-ubuntu +Maintainer: Timo Härkönen <[email protected]> +Architecture: all +Stardards-Version: 3.7.3 +Build-Depends: debhelper (>= 4) other changes: -------------- ++++++ debian.tar.gz (new) ++++++ eat-0.0.8.tar.gz -> eat-0.1.1.tar.gz --- src/conf/10-eat-syslog-host-ubuntu.conf +++ src/conf/10-eat-syslog-host-ubuntu.conf @@ -2,7 +2,7 @@ $UDPServerRun 514 $UDPServerAddress 192.168.2.15 -*.192.168.2.15 /var/log/eat.log +*.192.168.2.15 /var/log/testrun.log & ~ --- src/conf/ifcfg-usb0 +++ src/conf/ifcfg-usb0 +DEVICE=usb0 +BOOTPROTO=none +IPADDR=192.168.2.14 +NETMASK=255.255.255.0 +ONBOOT=yes --- src/conf/usb0-ubuntu +++ src/conf/usb0-ubuntu +auto usb0 +iface usb0 inet static + address 192.168.2.14 + netmask 255.255.255.0 + network 192.168.2.0 + broadcast 192.168.2.255 --- src/init/eat-syslog-host +++ src/init/eat-syslog-host @@ -21,7 +21,7 @@ echo "SYSLOGD_OPTIONS=\"-m 0 -r\"" >> /etc/sysconfig/sysklogd # Print received syslog messages to /var/log/eat.log echo "# Added by eat" >> /etc/syslog.conf - echo ":fromhost-ip, isequal, "192.2.168.15" /var/log/eat.log"\ + echo ":fromhost-ip, isequal, "192.2.168.15" /var/log/testrun.log"\ >> /etc/syslog.conf /etc/init.d/sysklogd restart elif [ -e /etc/sysconfig/rsyslog ] --- src/scripts/eat-clear-syslog.sh +++ src/scripts/eat-clear-syslog.sh @@ -1,2 +1,2 @@ #!/bin/sh -> /var/log/eat.log +> /var/log/testrun.log --- src/scripts/eat-env.sh +++ src/scripts/eat-env.sh +#!/bin/bash +# A script to get DISPLAY and DBUS related environment variables from a running +# process to the shell session + +# A running process to get the DBUS settings from +PROCESS=mcompositor +PROCESS_ID=`pgrep $PROCESS` + +if [ -n "$PROCESS_ID" ]; then +$(cat /proc/$PROCESS_ID/environ | tr '\000' '\n'\ + | egrep 'DBUS|DISPLAY' | sed 's/^/export\ /') +else +echo "eat-env.sh: Got no PID for command: $PROCESS" +echo "eat-env.sh: Environment variable setup failed" +fi _______________________________________________ MeeGo-commits mailing list [email protected] http://lists.meego.com/listinfo/meego-commits _______________________________________________ MeeGo-packaging mailing list [email protected] http://lists.meego.com/listinfo/meego-packaging
