@@ -32,14 +32,14 @@ assert manifest['kind'] == 'rpm'
3232assert manifest['version'] == '0.1.0'
3333assert manifest['package'].endswith('.rpm')
3434assert manifest['profile'] == '/etc/turtle-term/turtleterm.lua'
35- for command in ['turtle-cloudfog', 'turtle-superconscious', 'turtle-agent-machine']:
35+ for command in ['turtle-cloudfog', 'turtle-superconscious', 'turtle-agent-machine', 'turtle-language' ]:
3636 assert command in manifest['public_commands'], command
3737PY
3838
3939rpm -qp --queryformat ' %{NAME}\n' " $rpm " | grep -qx ' turtle-term'
4040rpm -qp --queryformat ' %{VERSION}\n' " $rpm " | grep -qx ' 0.1.0'
4141
42- for command in turtleterm turtle-agentctl turtle-cloudfog turtle-superconscious turtle-agent-machine; do
42+ for command in turtleterm turtle-agentctl turtle-cloudfog turtle-superconscious turtle-agent-machine turtle-language ; do
4343 rpm -qpl " $rpm " | grep -q " ^/usr/bin/$command $"
4444done
4545
@@ -66,9 +66,13 @@ if grep -R "$tmp\|BUILDROOT\|rpm-root\|arch-root\|deb-root" "$extract/usr/bin/tu
6666 exit 1
6767fi
6868
69+ probe=" $tmp /probe.py"
70+ printf ' def hello():\n return "world"\n' > " $probe "
6971PATH=" $extract /usr/bin:$PATH " " $extract /usr/bin/turtle-agentctl" --stdio surfaces > /dev/null
7072PATH=" $extract /usr/bin:$PATH " " $extract /usr/bin/turtle-cloudfog" surfaces > /dev/null
7173PATH=" $extract /usr/bin:$PATH " " $extract /usr/bin/turtle-superconscious" observe rpm-package > /dev/null
7274PATH=" $extract /usr/bin:$PATH " " $extract /usr/bin/turtle-agent-machine" surfaces > /dev/null
75+ PATH=" $extract /usr/bin:$PATH " " $extract /usr/bin/turtle-language" diagnostics " $probe " > /dev/null
76+ PATH=" $extract /usr/bin:$PATH " " $extract /usr/bin/turtle-language" symbols " $probe " > /dev/null
7377
7478echo " verified $rpm "
0 commit comments