Files
mars-dosutils/test/deploy.sh
Mario Fetka f214e89d69 tests: add Novell DOS tool baseline suite
Add DOS-side baseline scripts for the Novell tools used to compare the
reimplemented public utilities.

The suite covers the current baseline set:

  MAP
  SLIST
  WHOAMI
  LOGIN / LOGOUT
  NDIR
  NCOPY
  FLAG
  FLAGDIR
  CREATOR
  RIGHTS
  GRANT
  REVOKE
  REMOVE

It also includes supporting trustee, rights, rename, move, delete and
file-operation tests.

Each test writes reproducible output into a per-tool CMP directory and
provides a matching ZIP helper for collecting the results. The ZIP
helpers clean generated test trees afterwards so SYS: does not keep
accumulating temporary directories.

This is the Novell baseline layer only. A later change can extend the
same scripts to run the full comparison cycle:

  NPUBLIC baseline -> PUBLIC implementation -> NPUBLIC control
2026-05-27 13:31:46 +02:00

38 lines
1.3 KiB
Bash

#!/usr/bin/env bash
set -euo pipefail
SRC="/home/mario/mars/mars-nwe-build/dosutils/net.exe"
SYS="/var/mars_nwe/SYS"
# Nur unsere aktuell getesteten Open-Source-Tools überschreiben:
install -m 0644 "$SRC" "$SYS/public/login.exe"
install -m 0644 "$SRC" "$SYS/login/login.exe"
install -m 0644 "$SRC" "$SYS/public/map.exe"
install -m 0644 "$SRC" "$SYS/login/map.exe"
install -m 0644 "$SRC" "$SYS/public/slist.exe"
install -m 0644 "$SRC" "$SYS/login/slist.exe"
install -m 0644 "$SRC" "$SYS/public/pathins.exe"
install -m 0644 "$SRC" "$SYS/public/pathdel.exe"
install -m 0644 "$SRC" "$SYS/public/path.exe"
install -m 0644 "$SRC" "$SYS/public/flag.exe"
install -m 0644 "$SRC" "$SYS/public/flagdir.exe"
install -m 0644 "$SRC" "$SYS/public/rights.exe"
install -m 0644 "$SRC" "$SYS/public/grant.exe"
install -m 0644 "$SRC" "$SYS/public/revoke.exe"
install -m 0644 "$SRC" "$SYS/public/remove.exe"
install -m 0644 "$SRC" "$SYS/public/ndir.exe"
# Optional nur wenn du gerade diese Open-Source-Version testen willst:
# install -m 0644 "$SRC" "$SYS/public/passwd.exe"
# install -m 0644 "$SRC" "$SYS/public/capture.exe"
# install -m 0644 "$SRC" "$SYS/public/endcap.exe"
# install -m 0644 "$SRC" "$SYS/public/logout.exe"
install -m 0644 "$SRC" "$SYS/public/tests.exe"
echo "deployed selected Open Source DOS utils from: $SRC"