Comments (3)
This bug has been fixed by the eeaafa9. It will be included in the next version 0.29 release.
from shellspec.
Try shellspec --shell sh
(or shell of your choice instead of sh
). This specifies the shell manually, rather than automatically detecting the current shell.
The ps
command in OpenBSD 7.2 now supports the -f
option, which is an unexpected format in ShellSpec. Shell detection methods need to be improved.
openbsd72# ps -f
PID TT STAT TIME COMMAND
11637 p0 Sp 0:00.05 | `-- -ksh (ksh)
31609 p0 R+pU 0:00.00 | `-- ps -f
13027 C0 I+p 0:00.06 |-- -ksh (ksh)
22676 C1 I+pU 0:00.00 |-- /usr/libexec/getty std.9600 ttyC1
69925 C2 I+pU 0:00.00 |-- /usr/libexec/getty std.9600 ttyC2
35468 C3 I+pU 0:00.00 |-- /usr/libexec/getty std.9600 ttyC3
78810 C5 I+pU 0:00.00 `-- /usr/libexec/getty std.9600 ttyC5
from shellspec.
Try
shellspec --shell sh
Yes, that workaround works as expected :-) Thank you!
from shellspec.
Related Issues (20)
- does shellspec support csh or tcsh? HOT 1
- Acronyms are not defined before use
- STDIN in test is bound to the calling terminal STDIN when Data block not specified HOT 2
- allow comparing stdout/stderr to the contents in a file HOT 2
- Pipping echo command prints to output HOT 2
- shellspec --init not working with whitespaces in working path on WSL Ubuntu on Windows HOT 4
- yash version 2.54 does not work with shellspec HOT 1
- kcov show no coverage with --execdir
- kcov with /bin/bash or /bin/sh HOT 1
- Command Based Mock - command execution status HOT 2
- Parameters:dynamic from a shell script HOT 1
- No error in execution without coverage report generation, problem in using coverage report generation
- Can local variables of the function under test be modified by the test case simulation? HOT 3
- Nested `source` commands inside scripts under testing
- Unit tests for Inner Function without calling the outer function HOT 1
- fails when expected success HOT 1
- Typo in the README.md, see "Intercepting" sample HOT 1
- Workaround for bash 5.2 bug (pop_var_context ...) and eliminate old bash/zsh workaround (eval func ${1+'"$@"'}) HOT 2
- BASH 5.2 problem to handle eval properly with "errexit" option set HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shellspec.