File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,11 +32,15 @@ assert manifest['kind'] == 'arch'
3232assert manifest['version'] == '0.1.0'
3333assert manifest['package'].endswith('.pkg.tar.zst')
3434assert manifest['profile'] == '/etc/turtle-term/turtleterm.lua'
35+ for command in ['turtle-cloudfog', 'turtle-superconscious', 'turtle-agent-machine']:
36+ assert command in manifest['public_commands'], command
3537PY
3638
3739tar --zstd -tf " $pkg " | grep -q ' ^./.PKGINFO$'
38- tar --zstd -tf " $pkg " | grep -q ' ^./usr/bin/turtleterm$'
39- tar --zstd -tf " $pkg " | grep -q ' ^./usr/bin/turtle-agentctl$'
40+ for command in turtleterm turtle-agentctl turtle-cloudfog turtle-superconscious turtle-agent-machine; do
41+ tar --zstd -tf " $pkg " | grep -q " ^./usr/bin/$command $"
42+ done
43+
4044tar --zstd -tf " $pkg " | grep -q ' ^./etc/turtle-term/turtleterm.lua$'
4145tar --zstd -tf " $pkg " | grep -q ' ^./usr/share/applications/ai.sourceos.TurtleTerm.desktop$'
4246tar --zstd -tf " $pkg " | grep -q ' ^./usr/share/metainfo/ai.sourceos.TurtleTerm.metainfo.xml$'
@@ -60,4 +64,9 @@ if grep -R "$tmp\|BUILDROOT\|rpm-root\|arch-root\|deb-root" "$extract/usr/bin/tu
6064 exit 1
6165fi
6266
67+ " $extract /usr/bin/turtle-agentctl" --stdio surfaces > /dev/null
68+ " $extract /usr/bin/turtle-cloudfog" surfaces > /dev/null
69+ " $extract /usr/bin/turtle-superconscious" observe arch-package > /dev/null
70+ " $extract /usr/bin/turtle-agent-machine" surfaces > /dev/null
71+
6372echo " verified $pkg "
You can’t perform that action at this time.
0 commit comments