X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-remote.sh;h=ff5b85ad002ae1b1056b572a25707b3eda91b2a3;hp=783dd6e8605fa80d982c1ffb8922b8530de6064c;hb=dd76ce2b4c93dd10d8eca9ab7c77bc831f103d03;hpb=d5b89d36224b394391af09fba7ed0a7921175610 diff --git a/regressions/test-remote.sh b/regressions/test-remote.sh index 783dd6e..ff5b85a 100755 --- a/regressions/test-remote.sh +++ b/regressions/test-remote.sh @@ -1,4 +1,4 @@ -#!/bin/sh - +#!/bin/bash - # libguestfs # Copyright (C) 2009 Red Hat Inc. # @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Test remote control of guestfish. @@ -26,9 +26,9 @@ eval `../fish/guestfish --listen` ../fish/guestfish --remote alloc test.img 10M ../fish/guestfish --remote run -../fish/guestfish --remote sfdiskM /dev/sda , +../fish/guestfish --remote part-disk /dev/sda mbr ../fish/guestfish --remote mkfs ext2 /dev/sda1 -../fish/guestfish --remote mount /dev/sda1 / +../fish/guestfish --remote mount-options "" /dev/sda1 / # Failure of the above commands will cause the guestfish listener to exit. # Incorrect return from echo_daemon will not, so need to ensure the listener