diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-31 02:47:07 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-31 02:47:07 -0500 |
commit | 7405c014267e569ed0e7109c4b037d6045f0353a (patch) | |
tree | 577d23b31ea588de45e6015fd638c98ce04aca54 /embedded-test.sh | |
parent | 01233129ce297438afeecccba3e940cada093c20 (diff) |
fix for dash
Diffstat (limited to 'embedded-test.sh')
-rwxr-xr-x | embedded-test.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embedded-test.sh b/embedded-test.sh index 5650b8e..2918086 100755 --- a/embedded-test.sh +++ b/embedded-test.sh @@ -165,7 +165,7 @@ runtest() { qemu=qemu-system-${arch} qemu_args= - if [[ $ntp ]]; then + if [ $ntp ]; then qemu_append="-append ntpserver=$ntp" fi if [ $shell -eq 1 ]; then @@ -386,18 +386,18 @@ runtest() { cat > ${root}/run.sh << EOF #!/bin/sh uname -a -if [[ \$ntpserver ]]; then +if [ \$ntpserver ]; then rdate \$ntpserver else rdate time.fu-berlin.de fi -file /bin/busybox EOF if [ $test = "boot" ];then cat >> ${root}/run.sh << EOF +file /bin/busybox +size /bin/busybox for i in \$(ls /lib/*.so|grep -v libgcc);do - size /bin/busybox size \$i done exit @@ -422,7 +422,7 @@ EOF musl|glibc) cat >> ${root}/run.sh << EOF cd /opt/libc-test -make run +CC=: make run exit EOF ;; |