shell-runone

Execute a named CUBRID shell testcase locally and report pass/fail results.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/tw-kang/skills --skill shell-runone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shell-runone
Source: https://github.com/tw-kang/skills/tree/main/shell-runone
Command: npx skills add https://github.com/tw-kang/skills --skill shell-runone

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Executes a single CTP shell testcase on a developer's local machine when a specific test name or path and a CUBRID build URL are provided, and returns a clear pass/fail result plus actionable diagnostics to triage failures quickly.

Core Features & Use Cases

  • Environment validation: Detects CTP installation, verifies helper scripts, and ensures the runtime environment is prepared.
  • Automated install & execution: Installs CUBRID from a provided build URL, locates the test script, runs it with a timeout, and reads the .result file to report pass/NOK.
  • Failure analysis & cleanup: Aggregates execution output, server and broker logs, core dumps, and diffs against expected outputs to synthesize root cause and remediation suggestions.

Quick Start

Run the shell testcase bug_cubrid2125 with the build URL http://example.com/CUBRID-build.sh and report pass/fail with failure analysis.

Frequently Asked Questions about shell-runone

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a CUBRID shell test locally and diagnose failures?

To run a CUBRID shell test locally, provide a specific test name and a CUBRID build URL. The environment installs CUBRID, executes the test with a timeout, parses the .result file, and synthesizes failure diagnostics from logs and core dumps.

Can I execute a CTP shell testcase using a CBRD issue identifier?

Yes, you can execute a CTP shell testcase using a CBRD issue identifier. The runner locates the corresponding test script, installs the provided CUBRID build, runs the test, and aggregates execution output for failure analysis.

What logs are checked when analyzing a CUBRID shell test failure?

Failure analysis for CUBRID shell tests aggregates server logs, broker logs, and core dumps. It also diffs the actual execution output against expected results to synthesize root cause and remediation suggestions.

Do I need to manually install CUBRID before running a shell testcase?

No, you do not need to manually install CUBRID. The process performs automated installation from the build URL you provide, validates the CTP environment, and prepares the runtime before executing the testcase.

Why is my CTP shell test reporting NOK after execution?

A CTP shell test reports NOK when the parsed .result file indicates a failure. The runner checks server logs, broker logs, and core dumps, comparing them against expected outputs to diagnose the root cause.