diff --git a/src/vfs/extfs/helpers/rpm b/src/vfs/extfs/helpers/rpm index 454a9c035..30d69263c 100755 --- a/src/vfs/extfs/helpers/rpm +++ b/src/vfs/extfs/helpers/rpm @@ -122,8 +122,6 @@ mcrpmfs_getOneTag() echo $AllTAGS | $SED "s/.*|${1}=//" | cut -d '|' -f 1 } -AllTAGS=`mcrpmfs_getAllNeededTags "$1"` - mcrpmfs_printOneMetaInfo() { if test "$3" = "raw"; then @@ -330,6 +328,11 @@ mcrpmfs_run () esac } +# Let the test framework override functions and variables. +[ -n "$MC_TEST_RPM_REWRITE" ] && . "$MC_TEST_RPM_REWRITE" + +AllTAGS=`mcrpmfs_getAllNeededTags "$1"` + umask 077 case "${param}" in list) mcrpmfs_list; exit 0;;