Try to improve test run script with osx
This commit is contained in:
parent
c538778b7e
commit
dbd7bd41bb
4
test/run
4
test/run
|
@ -14,7 +14,7 @@ main() {
|
||||||
cd $test/$dir;
|
cd $test/$dir;
|
||||||
test_files=$(ls out selections state 2>/dev/null)
|
test_files=$(ls out selections state 2>/dev/null)
|
||||||
cd $work/$dir;
|
cd $work/$dir;
|
||||||
indent="$(echo "${dir}/" | sed "s|[^/]*/\+| |g")"
|
indent="$(echo "${dir}/" | sed -e 's|[^/]*/\+| |g')"
|
||||||
name=$(basename $PWD)
|
name=$(basename $PWD)
|
||||||
if ! test -e cmd; then
|
if ! test -e cmd; then
|
||||||
echo "$indent$name"
|
echo "$indent$name"
|
||||||
|
@ -32,7 +32,7 @@ main() {
|
||||||
catch %{
|
catch %{
|
||||||
exec gg
|
exec gg
|
||||||
}
|
}
|
||||||
exec '$(cat cmd)'
|
exec '$(cat cmd | sed -e s/\'/\\\'/g)'
|
||||||
eval -buffer *debug* write debug
|
eval -buffer *debug* write debug
|
||||||
nop %sh{ IFS==
|
nop %sh{ IFS==
|
||||||
echo \"\$kak_selections\" > selections
|
echo \"\$kak_selections\" > selections
|
||||||
|
|
Loading…
Reference in New Issue
Block a user