1 AT_TESTED([rpm rpmbuild rpmquery])
3 m4_define([RPMDB_INIT],[[
7 m4_define([RPMDB_CLEAR],[[
8 rm -rf "${abs_builddir}"/testing`rpm --eval '%_dbpath'`/*
11 m4_define([RPMPY_RUN],[
14 dbpath=rpm.expandMacro('%_dbpath')
15 rpm.addMacro('_dbpath', '${abs_builddir}/testing%s' % dbpath)
16 def myprint(msg = ''):
17 sys.stdout.write('%s\n' % msg)
23 m4_define([RPMPY_CHECK],[
26 AT_CHECK([RPMPY_RUN([[$2]])], [], [$3], [$4])