File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,4 +3,8 @@ set -euo pipefail
33
44# @REMOTE sui
55# @SHELL zsh
6+ sudo pacman -Syyu --noconfirm
7+ paru -Syyu --noconfirm
8+ rustup update
9+ sudo podman auto-update
610mise install go@latest
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Test script to verify mixed stdout/stderr output is handled correctly
3+
4+ # @REMOTE sui
5+
6+ # Command that produces output to stdout
7+ echo " === Systemd Status ==="
8+ echo " This is stdout from systemctl status"
9+
10+ # Command that produces output to stderr (simulating curl progress)
11+ echo " Downloading file..." >&2
12+ echo " 0 0 0 0 0 0 0 0 0" >&2
13+
14+ # Command that produces output to both stdout and stderr
15+ echo " === Another Status ==="
16+ echo " This is stdout from another command"
17+ echo " This is stderr from another command" >&2
18+
19+ # Final command
20+ echo " === Done ==="
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Test script to verify stdout and stderr are handled correctly
3+
4+ # @REMOTE sui
5+
6+ # Command with stdout only
7+ echo " === Systemd Status ==="
8+ echo " Main PID: 420746 (openobserve)"
9+ echo " Tasks: 38 (limit: 154407)"
10+
11+ # Command with stderr only (simulating curl progress)
12+ echo " Downloading file..." >&2
13+ echo " 0 0 0 0 0 0 0 0 0" >&2
14+ echo " 0 105.1M 0 8949 0 0 8780 0 3:29:14 00:01 3:29:13 8781" >&2
15+
16+ # Command with both stdout and stderr
17+ echo " === Another Status ==="
18+ echo " This is stdout from another command"
19+ echo " This is stderr from another command" >&2
20+
21+ # Final command
22+ echo " === Done ==="
You can’t perform that action at this time.
0 commit comments