Skip to content

Commit

Permalink
tests: Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
theduke committed Feb 10, 2023
1 parent 01b6e57 commit 1782958
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 4 deletions.
33 changes: 33 additions & 0 deletions tests/integration/cli/tests/snapshots/snapshot__snapshot_bash.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
source: tests/integration/cli/tests/snapshot.rs
expression: snapshot
---
{
"spec": {
"name": null,
"wasm_hash": "34124ab56a8a69bc5964b05748e052d8",
"use_packages": [],
"cli_args": [],
"stdin": [
101,
99,
104,
111,
32,
104,
101,
108,
108,
111
],
"debug_output": false,
"enable_threads": true
},
"result": {
"Success": {
"stdout": "hello\n",
"stderr": "34124ab56a8a69bc5964b05748e052d8.wasm-5.1# echo hello\n34124ab56a8a69bc5964b05748e052d8.wasm-5.1# exit\n",
"exit_code": 0
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ expression: snapshot
},
"result": {
"Success": {
"stdout": "Parent has x = 0\nChild has x = 2\nChild(1) exited with 0\n",
"stdout": "Parent has x = 0\nChild has x = 2\nChild(2) exited with 0\n",
"stderr": "",
"exit_code": 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ expression: snapshot
},
"result": {
"Success": {
"stdout": "Parent has x = 0\nChild has x = 2\nChild(1) exited with 5\n",
"stdout": "Parent has x = 0\nChild has x = 2\n",
"stderr": "",
"exit_code": 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ expression: snapshot
},
"result": {
"Success": {
"stdout": "VAR1 in main before change: FirstEnum\nVAR1 in main after change: ThirdEnum(340282366920938463463374607431768211455)\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in main after thread midpoint: SecondEnum(998877)\nVAR1 in main after thread join: SecondEnum(998877)\n",
"stdout": "VAR1 in main before change: FirstEnum\nVAR1 in main after change: ThirdEnum(340282366920938463463374607431768211455)\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 1: FirstEnum\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 2: FirstEnum\nVAR1 in thread step 3: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in thread step 4: SecondEnum(4)\nVAR1 in main after thread midpoint: SecondEnum(998877)\nVAR1 in main after thread join: SecondEnum(998877)\n",
"stderr": "",
"exit_code": 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ expression: snapshot
},
"result": {
"Success": {
"stdout": "Parent waiting on Child(1)\nChild(1) exited with 10\n",
"stdout": "Parent waiting on Child(2)\nChild(2) exited with 10\n",
"stderr": "",
"exit_code": 0
}
Expand Down

0 comments on commit 1782958

Please sign in to comment.