prplos/.gitlab/tests
Petr Štetiar cbc87d14e0 ci: cram: 130-periodicfileupload.t: restore the canonical R alias
Cram tests conventionally define R directly from CRAM_REMOTE_COMMAND.
Commit 43f1696033 ("ci: cram: periodicfileupload tests sometimes fails
(PPW-1766)") introduced a sed pipeline for this test.

The substitution only matches ssh when it has a leading space, while
CRAM_REMOTE_COMMAND begins with ssh. The pipeline is therefore a silent
no-op.

Keeping a per-test rewrite would duplicate the stdin handling. The
preceding "ci: cram: keep remote commands off the script stdin" puts
ssh -n into CRAM_REMOTE_COMMAND at its source for every test.

Restore the canonical alias so this test follows the suite convention
and relies on the centralized remote command definition.

References: PCF-2222, PPW-1766
Assisted-by: claude:opus-5:orchestrator
Assisted-by: codex:gpt-5.6-sol:medium-fast
Fixes: 43f1696033 ("ci: cram: periodicfileupload tests sometimes fails (PPW-1766)")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-07-28 09:03:45 +00:00
..
cram ci: cram: 130-periodicfileupload.t: restore the canonical R alias 2026-07-28 09:03:45 +00:00
README.md

Content

This directory contains tests.

cram

Contains Cram based tests. Cram is a functional testing framework for command line applications. Cram tests look like snippets of interactive shell sessions. Cram runs each command and compares the command output in the test with the command's actual output.

Tests in this directory should be run against device, usually over network via SSH connection.