diff options
author | Anders F Bjorklund <afb@users.sourceforge.net> | 2013-05-09 22:54:33 +0200 |
---|---|---|
committer | Anders F Bjorklund <afb@users.sourceforge.net> | 2013-06-16 20:30:22 +0200 |
commit | 99d39f32ee7c57d4a3a8b4c150b7945c550b6f83 (patch) | |
tree | f515a05d0cfeba3eb128416bbfb4c4a4a49bc39c /data | |
parent | 359dacdbef7c87918a91cf3ef4001d51f742153d (diff) |
Make the test scripts use a standard shell
Easier than rigging /bin/bash vs /usr/local/bin/bash.
Also note that echo -n is not available in bourne sh.
Diffstat (limited to 'data')
-rwxr-xr-x | data/tests/pk-spawn-proxy.sh | 2 | ||||
-rwxr-xr-x | data/tests/pk-spawn-test-profiling.sh | 2 | ||||
-rwxr-xr-x | data/tests/pk-spawn-test-sigquit.sh | 2 | ||||
-rwxr-xr-x | data/tests/pk-spawn-test.sh | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/data/tests/pk-spawn-proxy.sh b/data/tests/pk-spawn-proxy.sh index 57774f190..612cc3a47 100755 --- a/data/tests/pk-spawn-proxy.sh +++ b/data/tests/pk-spawn-proxy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright (C) 2008 Richard Hughes <richard@hughsie.com> # Licensed under the GNU General Public License Version 2 # This program is free software; you can redistribute it and/or modify diff --git a/data/tests/pk-spawn-test-profiling.sh b/data/tests/pk-spawn-test-profiling.sh index 55a43aa0a..b6ebf1637 100755 --- a/data/tests/pk-spawn-test-profiling.sh +++ b/data/tests/pk-spawn-test-profiling.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright (C) 2007 Richard Hughes <richard@hughsie.com> # Licensed under the GNU General Public License Version 2 # This program is free software; you can redistribute it and/or modify diff --git a/data/tests/pk-spawn-test-sigquit.sh b/data/tests/pk-spawn-test-sigquit.sh index cb8995db2..cafd8cc18 100755 --- a/data/tests/pk-spawn-test-sigquit.sh +++ b/data/tests/pk-spawn-test-sigquit.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright (C) 2007 Richard Hughes <richard@hughsie.com> # Licensed under the GNU General Public License Version 2 # This program is free software; you can redistribute it and/or modify diff --git a/data/tests/pk-spawn-test.sh b/data/tests/pk-spawn-test.sh index c8018f3e7..536cbc1f2 100755 --- a/data/tests/pk-spawn-test.sh +++ b/data/tests/pk-spawn-test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright (C) 2007 Richard Hughes <richard@hughsie.com> # Licensed under the GNU General Public License Version 2 # This program is free software; you can redistribute it and/or modify @@ -20,7 +20,7 @@ sleep ${time} echo -e "package\tavailable\tpolkit;0.0.1;i386;data\tPolicyKit daemon" echo -e "package\tinstalled\tpolkit-gnome;0.0.1;i386;data\tPolicyKit helper (•) for GNOME" sleep ${time} -echo -e -n "package\tavailable\tConsoleKit" +printf "package\tavailable\tConsoleKit" sleep ${time} echo -e "\tSystem console checker" echo -e "percentage\t50" |