Commit Graph

3 Commits

Author SHA1 Message Date
Raúl Benencia 99d693d647 test_git.sh: replace test regex for glob match
Don't quote rhs of =~, it'll match literally rather than as a
regex. Fixes SC2076. Part of #891.
2024-06-28 07:09:09 -07:00
Tim Hockin f4d067c987 e2e: compare numbers numerically, not lexically
Thanks, bash, for supporting `<` and `>` and making them NOT mean the
obvious thing.

This shows up when you set RUNS=10:
`[[ 2 < 10 ]]` is false
`(( 2 < 10 ))` is true
2023-04-06 17:45:26 -07:00
Tim Hockin 3133c38442
Add a test to exercise git
I keep having to cross-check whether things work the way I think they
work.  I am codifying them into a test.
2023-02-16 12:52:58 -08:00