8000 Fix cram tests for grep >=3.8 by hartwork · Pull Request #233 · git-big-picture/git-big-picture · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix cram tests for grep >=3.8 #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test.cram
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ provide filename and viewer and format
$ rm file.png

check explicit direction of history
$ bash -c 'set -o pipefail; for i in {down,left,right,up}wards; do git-big-picture -g --history-direction=${i} | fgrep rankdir ; done'
$ bash -c 'set -o pipefail; for i in {down,left,right,up}wards; do git-big-picture -g --history-direction=${i} | grep -F rankdir ; done'
\trankdir="BT"; (esc)
\trankdir="LR"; (esc)
\trankdir="RL"; (esc)
\trankdir="TB"; (esc)

check for deletion of temp files
$ ls -1 "$(git-big-picture -d -v true | fgrep 'temp file' | tee /dev/stderr | grep -Eo "/[^']+" | uniq)" || ( exit 2 ) # for macOS
$ ls -1 "$(git-big-picture -d -v true | grep -F 'temp file' | tee /dev/stderr | grep -Eo "/[^']+" | uniq)" || ( exit 2 ) # for macOS
debug: Created temp file: '/[^']+' (re)
debug: Removing temp file: '/[^']+' (re)
ls: .*/.+/git-big-picture.*.svg.*No such file or directory (re)
Expand Down
0