diff options
author | John Wiegley <johnw@newartisans.com> | 2011-02-04 19:19:09 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-02-04 19:19:09 -0500 |
commit | c5352f09a4e5722fd64b3638e0e3e014fd098036 (patch) | |
tree | bcfd68bbf2b4dbdb8d4abe905c0a41b8059a7037 /test/run | |
parent | 1719e6cd6cd6bccc095ac9d8e5211c929a36b863 (diff) | |
download | fork-ledger-c5352f09a4e5722fd64b3638e0e3e014fd098036.tar.gz fork-ledger-c5352f09a4e5722fd64b3638e0e3e014fd098036.tar.bz2 fork-ledger-c5352f09a4e5722fd64b3638e0e3e014fd098036.zip |
Simplified an else clause in test/run
Diffstat (limited to 'test/run')
-rwxr-xr-x | test/run | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -36,10 +36,9 @@ elif [[ $output_only == false ]]; then if [[ -f /tmp/expected.$$ && -f /tmp/received.$$ ]]; then diff -w -U3 /tmp/expected.$$ /tmp/received.$$ && echo Test passed. fi -else - if [[ -f /tmp/received.$$ ]]; then - cat /tmp/received.$$ - fi + +elif [[ -f /tmp/received.$$ ]]; then + cat /tmp/received.$$ fi /bin/rm -f /tmp/expected.$$ /tmp/received.$$ |