t/ctap/prove: t/ctap/prove.o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+
-test: $(ZPKGBIN) t/ctap/prove
+test: $(ZPKGBIN) t/ctap/prove db.sql
@PATH=$(curdir)/t:$(curdir)/bin:$(PATH) t/ctap/prove t/*.t
programs: $(PROGRAMS)
printf "insert or rollback into packages select * from remote.packages P %s;\n" "$where"
printf "insert or rollback into packagefiles select * from remote.packagefiles P %s;\n" "$where"
printf "insert or rollback into scripts select * from remote.scripts P %s;\n" "$where"
+ printf "insert or rollback into packagedeps select * from remote.packagedeps P %s;\n" "$where"
if [ $mergefiles -eq 1 ]; then
printf "insert into files select F.* from remote.files F\n"
printf "inner join remote.packagefiles_pkgid P on P.hash = F.hash %s\n" "$where"