CH-J Server ManagerSSH를 통한 서버 관리
메뉴
공개된 소스

CH-J Server Manager

특정 애플리케이션 릴리스의 디렉터리와 파일을 살펴보세요.

소스 ZIP 다운로드
CH-J / Server Manager 377 개 파일
core-20261019T111616Z-160a00bfcddc 추가됨: · 빌드됨:
remoteEditorLinux.test.js 추가됨: 날짜 기록 없음 1.4 KB · 22 줄
코드 파일 다운로드
1"use strict";
3const test = require("node:test");
4const assert = require("node:assert/strict");
5const path = require("node:path");
6const { spawnSync } = require("node:child_process");
8const scenarios = ["metadata", "move-failure", "disk-full", "post-rename-disconnect", "conflict", "upload-incomplete",
9 "target-symlink", "target-hardlink", "target-fifo", "workspace-symlink", "temporary-symlink", "metadata-failure",
10 "concurrent-target-replacement", "cross-filesystem-strategy", "acl", "existing-temporary", "symlink-retarget", "directory-symlink",
11 "no-space", "xattr-unsupported", "backup", "publish-existing-rename", "publish-new-rename", "publish-copy", "publish-conflict",
12 "publish-verify", "publish-exists", "publish-retry", "stage-out", "file-ops", "trusted-xattr"];
13for (const scenario of scenarios) {
14 test("Linux remote editor filesystem: " + scenario, { skip: process.platform !== "linux" ? "Requires Linux and Python 3; no remote SSH server configured." : false }, (t) => {
15 const result = spawnSync("python3", [path.join(__dirname, "fixtures/remoteEditorLinux.py"),
16 path.join(__dirname, "../src/main/files/remoteEditor.py"), scenario], { encoding: "utf8", timeout: 10000 });
17 assert.ifError(result.error);
18 if (result.status === 77) { t.skip(result.stdout.trim()); return; }
19 assert.equal(result.status, 0, result.stderr + result.stdout);
20 assert.equal(result.stdout.trim(), "ok");
21 });
SHA-256b05dab29d1cbf39f26ba2aa48053310e64ddb4e6e25bb14882f3bd7a5f242b8f

CH-J Proprietary Software License 1.14 · 소스는 CH-J Proprietary Software License 1.14에 따라 제공됩니다. 소스를 공개한다고 해서 라이선스 조항이 바뀌거나 추가 권리가 부여되지는 않습니다.

압축 파일 SHA-256a9605c0870a223b6a8542bb0705edd51d8b04f3069582653417a8397fabcc09a
파일