X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=regressions%2Ftest-read_file.sh;h=cd016e30765db441cf79658d52577920be26a005;hb=43942b08cfbcf91bef29ec532f3d097a8519c982;hp=33759b8318e5e13a872fd24f3b1b4590f00bdd5c;hpb=e315e0723ec8c2f84809f06d7f2ede4955dd6c67;p=libguestfs.git diff --git a/regressions/test-read_file.sh b/regressions/test-read_file.sh index 33759b8..cd016e3 100755 --- a/regressions/test-read_file.sh +++ b/regressions/test-read_file.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 read_file call. @@ -23,9 +23,9 @@ set -e rm -f test.out ../fish/guestfish <<'EOF' > test.out -add-ro ../images/test.sqsh +add-ro ../images/test.iso run -mount /dev/sda / +mount-ro /dev/sda / read-file /helloworld.tar EOF