https://bugzilla.novell.com/show_bug.cgi?id=374477
User pnemec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=374477#c22
--- Comment #22 from Pavel Nemec 2008-04-08 08:53:17 MST ---
I take a look into you patch and I had to say it is better. Only thing which is
missing is this part:
f (length $testsToRun == 0){
+ # fill test with one from directory
+ push(@testList,$Tests."/rpm");
+ push(@testList,$Tests."/ldd");
+ }
+ else{
+ # if test begin with '/' or './' do not touch
it
+ # else add default path before test name
+
+ my @parts = split (/\s+/ , $testsToRun);
+ foreach ( @parts ){
+ if ($_ !~ m/\/.*/ & $_ !~ /[.].*/) {
+ # relative path
+ push(@testList,$Tests."/".$_);
+ } else {
+ #absolute path
+ push(@testList,$_);
+ }
+ }
+ }
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.