Mailinglist Archive: yast-devel (41 mails)

< Previous Next >
Re: [yast-devel] testsuite in the hudson server
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Fri, 13 Feb 2009 09:20:29 +0100
  • Message-id: <49952D4D.3030809@xxxxxxx>
Hi,

Duncan Mac-Vicar Prett wrote:
[...]
The diff follows...

--- tests/tty.out 2009-01-17 19:16:54.000000000 +0000
+++ tmp.out.tty 2009-02-12 16:00:56.000000000 +0000
@@ -1,5 +1,5 @@
-(true)
-(true)
+(false)
+(false)
(false)
(false)
(false)

The first two tests check the output from "/usr/bin/tty" command
to verify that a terminal was really opened:

{
integer id = (integer)(SCR::Execute(.start, "/usr/bin/tty", $[ "tty" : true
]));
while(SCR::Read(.running, id) == true) sleep(20);
string out = (string)SCR::Read(.read, id);
return regexpmatch(out, "^/dev/pts/[0-9]*\r\n$");
}

What does the command print in the build chroot?

--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >