#126 Deprecations in shell scripts are sometimes skipped
Closed: Invalid None Opened 11 years ago by sochotni.

I have created shell script which should deprecate CheckSoFiles, but even though fedora-review -d lists my check as deprecating CheckSoFiles, the original CheckSoFiles is being run anyway.

Attached is my script


I have found a problem in the perl module I proposed. Attaching new version.

When using this, I cannot reproduce the problems on bug 812586 . Details:

  • I have patched the shell script, new version attached. This one produces a log and also dumps
    the environment.
  • From the dumped environment and the logs it's obvious that the unpack_rpms function works out
    of the box
  • From the log in ~/.cache/ I cannot see any invocation of CheckSoFiles.

I'm a bit worried: the bad perl module file caused a printout on stdout. Did you have this?
{{{
Illegal group Perl in /home/leamas/fedorahosted/tmp/FedoraReview/scripts/perl-check-sofiles.sh
}}}

set -x log from shellscript
slask.log

dumped environment from shellscript
slusk.log

I have added a testcase using --prebuilt --name and a shellscript deprecation. Tentatively closing bug but, of course :), feel free top reopen...

Login to comment on this ticket.

Metadata