4 import opk, cfg, opkgcl
8 long_filename = 110*"a"
10 os.symlink(long_filename, "linky")
11 a = opk.Opk(Package="a", Version="1.0", Architecture="all")
12 a.write(data_files=["linky"])
14 opkgcl.install("a_1.0_all.opk")
16 if not opkgcl.is_installed("a"):
17 print(__file__, ": Package 'a' not installed.")
20 if not os.path.lexists("{}/linky".format(cfg.offline_root)):
21 print(__file__, ": symlink to file with a name longer than 100 "
22 "characters not created.")