diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-09-13 17:51:02 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2010-09-13 17:51:02 +0530 |
commit | a1dc9e6370ad240a4f76ab82cd442068212012c0 (patch) | |
tree | 16527559f86fa239e2d886aa051bf0baa7b7d570 | |
parent | 39e607714b15d4fdd89637aab9bf4a60204fefa5 (diff) | |
download | test-virtserial-a1dc9e6370ad240a4f76ab82cd442068212012c0.tar.gz test-virtserial-a1dc9e6370ad240a4f76ab82cd442068212012c0.tar.xz test-virtserial-a1dc9e6370ad240a4f76ab82cd442068212012c0.zip |
run-test: comment about bash's "-s file" conditional
Signed-off-by: Amit Shah <amit.shah@redhat.com>
-rwxr-xr-x | run-test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run-test.sh b/run-test.sh index 305ae62..0918b07 100755 --- a/run-test.sh +++ b/run-test.sh @@ -37,6 +37,7 @@ QEMU_PIDFILE=/tmp/amit/qemu.pid function kill_qemu { if [ -s $QEMU_PIDFILE ]; then + # If file exists and has size greater than zero declare -i qemu_pid qemu_pid=`cat $QEMU_PIDFILE` |