跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

freebsd.bats

24 行 · 574 B历史下载
1# SPDX-FileCopyrightText: Copyright The Lima Authors
2# SPDX-License-Identifier: Apache-2.0
3
4load "../helpers/load"
5
6local_setup_file() {
7 limactl start --tty=false template:freebsd
8}
9
10local_teardown_file() {
11 # <DEBUG>
12 set -x
13 tail -n 100 "${LIMA_HOME}"/freebsd/*.log
14 limactl shell freebsd -- cat /var/log/messages
15 # </DEBUG>
16 limactl stop freebsd
17 limactl rm freebsd
18}
19
20@test 'Smoke test' {
21 run -0 limactl shell freebsd -- uname
22 # FIXME: the shell always shows freebsd-tips (specified in ~/.login)
23 assert_output --partial "FreeBSD"
24}