From: ewt Date: Thu, 4 Feb 1999 05:10:05 +0000 (+0000) Subject: make --test work for source packages X-Git-Tag: tznext/4.11.0.1.tizen20130304~9363 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0166b45137233b4e51b0062633b13962a6af0715;p=tools%2Flibrpm-tizen.git make --test work for source packages CVS patchset: 2772 CVS date: 1999/02/04 05:10:05 --- diff --git a/install.c b/install.c index 0e975f2..0081ddb 100644 --- a/install.c +++ b/install.c @@ -289,8 +289,9 @@ int doInstall(const char * rootdir, const char ** argv, int installFlags, continue; } - numFailed += rpmInstallSourcePackage(rootdir, fd, NULL, - showProgress, (void *) notifyFlags, NULL); + if (!(installFlags & RPMINSTALL_TEST)) + numFailed += rpmInstallSourcePackage(rootdir, fd, NULL, + showProgress, (void *) notifyFlags, NULL); fdClose(fd); }