Browse Source

test/run.sh: shrc: Just conduct syntax check by -n option

pull/1/head
10sr 10 years ago
parent
commit
7f97bee0fd
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      test/run.sh

+ 4
- 4
test/run.sh View File

@@ -5,16 +5,16 @@ dir="`dirname $0`"
top="$dir"/..

# setup.sh
sh "$top"/setup.sh shrc_common
sh "$top"/setup.sh help

# shrc
for sh in sh bash zsh
do
cat <<__EOC__ | $sh -si
. "$top"/shrc || exit 1
__EOC__
sh -n "$top"/shrc
done



# emacs
emacs --version
emacs -q --debug-init --batch --eval "(setq debug-on-error t)" --load "$top"/emacs.el --kill

Loading…
Cancel
Save