Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync200.py.in
blob6e47112d5ec8e4d8c3cedb3fb010ba4b8199a22e
1 self.description = "Synchronize the local database"
3 if len("@LIBCURL@") == 0:
4 self.option['XferCommand'] = ['/usr/bin/curl %u > %o']
6 sp1 = pmpkg("spkg1", "1.0-1")
7 sp1.depends = ["spkg2"]
8 sp2 = pmpkg("spkg2", "2.0-1")
9 sp2.depends = ["spkg3"]
10 sp3 = pmpkg("spkg3", "3.0-1")
11 sp3.depends = ["spkg1"]
13 for sp in sp1, sp2, sp3:
14 self.addpkg2db("sync", sp)
16 self.args = "-Sy"
18 self.addrule("PACMAN_RETCODE=0")