mirror of
https://github.com/asciinema/asciinema.git
synced 2026-05-18 05:04:50 +02:00
Use printf instead of w in PTY test for easier cross-platform support
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
|
||||
testDeps = with pkgs; [
|
||||
python3
|
||||
procps # provides `w` binary
|
||||
];
|
||||
|
||||
mkDevShell = rust: pkgs.mkShell {
|
||||
|
||||
@@ -520,7 +520,7 @@ sys.stdout.write('bar');
|
||||
let mut recorder = TestRecorder::default();
|
||||
|
||||
super::exec(
|
||||
&["w"],
|
||||
&["printf", "hello world\n"],
|
||||
&ExtraEnv::new(),
|
||||
&mut NullTty::open().unwrap(),
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user