code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash ROBOT_SYSLOG_FILE=tmp/syslog.txt python src/robot/runner.py -P atest/testresources/testlibs -P tmp -L debug -d tmp $*
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash cd $1 rm *.xml *html unzip outputs.zip command="rebot --name Robot_Framework_Acceptance_Tests --splitoutputs 1 output.xml" echo "Executing command: " $command $command exit $?
Shell
#!/bin/bash OUTPUTDIR=/opt/cruisecontrol/logs/robot-core BACKUPDIR=$OUTPUTDIR/old/$(date +%Y%m%d-%H%M%S) OUT=$OUTPUTDIR/output.txt cd /opt/cruisecontrol/projects/robot-core rm -rf atest/results echo 'Running Robot Acceptance Tests' >$OUT echo -n 'Date: ' >>$OUT date -R >>$OUT echo >>$OUT echo '1) svn update' >>$OUT...
Shell
#!/bin/bash python src/robot/rebot.py $1 >/dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jython src/robot/rebot.py $1 >/dev/null & rebotpid...
Shell
ROOTDIR=`dirname $0`/.. LIBPATH=$ROOTDIR/lib SRCPATH=$ROOTDIR/src TESTDATA=$ROOTDIR/atest/vacalc CP=$LIBPATH/robotframework-2.5.4.1.jar:$LIBPATH/swinglibrary-1.1.1.jar:$ROOTDIR/bin/ CLASSPATH=$CP java org.robotframework.RobotFramework -P $SRCPATH -P $ROOTDIR/atest/libraries $* --outputdir $ROOTDIR/results --critical re...
Shell
java -cp lib/robotframework-2.5.4.1.jar:bin/ -Dpython.path=src org.robotframework.vacalc.VacalcRunner
Shell
#!/bin/bash #downloads the project dependencies to lib directory wget -P lib http://robotframework.googlecode.com/files/robotframework-2.5.4.1.jar wget -P lib http://robotframework-swinglibrary.googlecode.com/files/swinglibrary-1.1.1.jar
Shell
CLASSPATH=lib/robotframework-2.5.3.jar javac -d bin src/org/robotframework/vacalc/*java
Shell
#!/bin/sh javac -target 1.5 -source 1.5 testlibs/*.java javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 listeners/*.java
Shell
#!/bin/bash basedir=$PWD/test pybot --loglevel DEBUG --log none --report none --outputdir $basedir $basedir/example.html python $basedir/../statuschecker.py $basedir/output.xml rebot $basedir/output.xml
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh if test $# = 1 ; then ORIGINAL=$1 else echo "Usage: make-patch.sh /path/to/libcharset" 1>&2 exit 1 fi if test -f $ORIGINAL/lib/localcharset.c ; then : ; else echo "Usage: make-patch.sh /path/to/libcharset" 1>&2 exit 1 fi VERSION=`grep VERSION= $ORIGINAL/configure.in | sed s/VERSION=//` echo "# ...
Shell
#!/bin/sh if test $# = 1 ; then ORIGINAL=$1 else echo "Usage: update.sh /path/to/libcharset" 1>&2 exit 1 fi if test -f $ORIGINAL/lib/localcharset.c ; then : ; else echo "Usage: update.sh /path/to/libcharset" 1>&2 exit 1 fi VERSION=`grep VERSION= $ORIGINAL/configure.in | sed s/VERSION=//` for i in localch...
Shell
#! /bin/sh # Output a system dependent table of character encoding aliases. # # Copyright (C) 2000-2002 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Found...
Shell
#!/bin/sh LANG=C status=0 if ! which readelf 2>/dev/null >/dev/null; then echo "'readelf' not found; skipping test" exit 0 fi for so in .libs/lib*.so; do echo Checking $so for local PLT entries # g_string_insert_c is used in g_string_append_c_inline # unaliased. Couldn't find a way to fix it. # Same for g_on...
Shell
#! /bin/sh egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp INCLUDES="-include ${top_builddir:-..}/config.h" INCLUDES="$INCLUDES -include glibconfig.cpp $GLIB_DEBUG_FLAGS" cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}...
Shell
#! /bin/sh IN="../update-pcre" PCRE=$1 if [ "x$PCRE" = x -o "x$PCRE" = x--help -o "x$PCRE" = x-h ]; then cat >&2 << EOF $0 PCRE-DIR Updates the local PCRE copy with a different version of the library, contained in the directory PCRE-DIR. This will delete the content of the local pcre directory, copy the ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public ...
Shell
#! /bin/sh # # Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # #...
Shell
#! /bin/bash # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU glib 2.16.6) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, ...
Shell
#!/bin/sh LANG=C status=0 if ! which readelf 2>/dev/null >/dev/null; then echo "'readelf' not found; skipping test" exit 0 fi for so in .libs/lib*.so; do echo Checking $so for local PLT entries readelf -r $so | grep 'JU\?MP_SLOT' | grep '\<g_type_\|\<g_boxed_\|\<g_value_\|\<g_cclosure_\|\<g_closure_\|\<g_signal...
Shell
#! /bin/sh egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp INCLUDES="-include ${top_builddir:-..}/config.h" INCLUDES="$INCLUDES -include glibconfig.cpp" cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//'...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mi...
Shell
#!/bin/sh VERSION=$1 if [ ! -f glib-$VERSION.tar.gz ]; then echo "ERROR: glib-$VERSION.tar.gz does not exist..." exit 1 fi echo "" echo "Checking glib-$VERSION.tar.gz..." tar xfz glib-$VERSION.tar.gz for file in INSTALL NEWS README do echo -n "$file... " if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | aw...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby ...
Shell
#!/bin/sh LANG=C status=0 if ! which readelf 2>/dev/null >/dev/null; then echo "'readelf' not found; skipping test" exit 0 fi SKIP='\<g_access\|\<g_array_\|\<g_ascii\|\<g_list_\|\<g_assertion_message\|\<g_warn_message\|\<g_atomic_int\|\<g_build_filename\|\<g_byte_array\|\<g_child_watch\|\<g_convert\|\<g_dir_\|\<g...
Shell
#! /bin/sh egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp INCLUDES="-include ${top_builddir:-..}/config.h" INCLUDES="$INCLUDES -include glibconfig.cpp" cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | s...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redi...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help...
Shell
#!/bin/sh # Build zipfiles for GLib on Win32: Separate runtime and developer ones. # After running make install, run this. ZIP=/tmp/glib-@GLIB_VERSION@.zip DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip cd @prefix@ mkdir -p share/doc/glib-@GLIB_VERSION@ cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@ mkdir -p sh...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the ...
Shell
#! /bin/sh # # Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # #...
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir PROJECT=GLib TEST_TYPE=-f FILE=glib/glib.h DIE=0 have_libtool=false if libtoolize --version < /dev/null > /dev/null 2>&1 ; then libtool_version=`libtoolize --version | sed 's/...
Shell
#!/bin/sh set -e imgloop= tmpfile= tmploop= dmname= cowlink= function cleanup () { set +e [ -n "$cowlink" ] && rm $cowlink [ -n "$dmname" ] && dmsetup remove $dmname [ -n "$tmploop" ] && losetup -d $tmploop [ -n "$tmpfile" ] && rm $tmpfile [ -n "$imgloop" ] && losetup -d $imgloop } trap clea...
Shell
#!/bin/bash # # Generate a syslinux floppy that loads a iPXE image # # gensdsk foo.sdsk foo.lkrn # # the floppy image is the first argument # followed by list of .lkrn images # case $# in 0|1) echo Usage: $0 foo.sdsk foo.lkrn ... exit 1 ;; esac case "`mtools -V`" in Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[...
Shell
#!/bin/bash # # Generate a legacy floppy emulation ISO boot image # # genliso foo.liso foo.lkrn bar.lkrn ... # # The .liso image filename is the first argument followed by # a list of .lkrn images include in .liso image case $# in 0|1) echo Usage: $0 foo.liso foo.lkrn ... exit 1 ;; esac case "`mtools -V`" in Mt...
Shell
#!/bin/bash # # Generate a isolinux ISO boot image # # geniso foo.iso foo.lkrn # # the ISO image is the first argument so that a list of .lkrn images # to include can be specified # case $# in 0|1) echo Usage: $0 foo.iso foo.lkrn ... exit 1 ;; esac # This should be the default location of the isolinux.bin file isol...
Shell
/* -*- sh -*- */ /* * Linker script for x86_64 Linux images * */ OUTPUT_FORMAT ( "elf64-x86-64", "elf64-x86-64", "elf64-x86-64" ) OUTPUT_ARCH ( i386:x86-64 ) SECTIONS { _max_align = 32; . = 0x400000; /* * The text section * */ . = ALIGN ( _max_align ); .text : { _text = .; *(.text) *(.text.*) ...
Shell
/* -*- sh -*- */ /* * Linker script for EFI images * */ SECTIONS { /* The file starts at a virtual address of zero, and sections are * contiguous. Each section is aligned to at least _max_align, * which defaults to 32. Load addresses are equal to virtual * addresses. */ _max_align =...
Shell
/* -*- sh -*- */ /* * Linker script for i386 images * */ OUTPUT_FORMAT ( "elf32-i386", "elf32-i386", "elf32-i386" ) OUTPUT_ARCH ( i386 ) SECTIONS { /* All sections in the resulting file have consecutive load * addresses, but may have individual link addresses depending on * the memory model being u...
Shell
/* -*- sh -*- */ /* * Linker script for i386 Linux images * */ OUTPUT_FORMAT ( "elf32-i386", "elf32-i386", "elf32-i386" ) OUTPUT_ARCH ( i386 ) SECTIONS { _max_align = 32; . = 0x08048000; /* * The text section * */ . = ALIGN ( _max_align ); .text : { _text = .; *(.text) *(.text.*) _etext = .;...
Shell
/* -*- sh -*- */ /* * Linker script for i386 images * */ SECTIONS { /* Each section starts at a virtual address of zero. * * We guarantee alignment of virtual addresses to any alignment * specified by the constituent object files (e.g. via * __attribute__((aligned(x)))). Load addresses ar...
Shell
#!/bin/sh # Script to test if gcc "-fwhole-program" works properly. mkdir -p out TMPFILE1=out/tmp_testcompile1.c TMPFILE1o=out/tmp_testcompile1.o TMPFILE1_ld=out/tmp_testcompile1.lds TMPFILE2=out/tmp_testcompile2.c TMPFILE2o=out/tmp_testcompile2.o TMPFILE3o=out/tmp_testcompile3.o # Test if ld's alignment handling is ...
Shell
#!/bin/sh # Script to generate a C file with version information. OUTFILE="$1" VAR16MODE="$2" # Extract version info if [ -d .git ]; then VERSION="`git describe --tags --long --dirty`" elif [ -f .version ]; then VERSION="`cat .version`" else VERSION="?" fi VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostn...
Shell
#!/bin/sh # Check ncurses compatibility # What library to link ldflags() { for ext in so a dylib ; do for lib in ncursesw ncurses curses ; do $cc -print-file-name=lib${lib}.${ext} | grep -q / if [ $? -eq 0 ]; then echo "-l${lib}" exit fi done done exit 1 } # Where is ncurses.h? ccflags() { if...
Shell
#!/bin/sh # Needed for systems without gettext $* -xc -o /dev/null - > /dev/null 2>&1 << EOF #include <libintl.h> int main() { gettext(""); return 0; } EOF if [ ! "$?" -eq "0" ]; then echo -DKBUILD_NO_NLS; fi
Shell
# ***************************************************************************** # * Copyright (c) 2004, 2008 IBM Corporation # * All rights reserved. # * This program and the accompanying materials # * are made available under the terms of the BSD License # * which accompanies this distribution, and is available at # *...
Shell
# ***************************************************************************** # * Copyright (c) 2004, 2008 IBM Corporation # * All rights reserved. # * This program and the accompanying materials # * are made available under the terms of the BSD License # * which accompanies this distribution, and is available at # *...
Shell
#!/bin/bash awk \ 'BEGIN { }\ /^\.text/,/DATA_SEG_DEFS_HERE/ { print }\ END { }'\ $1 > temp.awk.1 awk \ 'BEGIN { i = 0; last = "hello" }\ /BLOCK_STRINGS_BEGIN/,/^\.bss/ { if ( i > 1 ) { print last } last = $0; i = i + 1 }\ END { }'\ $1 > temp.awk.2 awk \ 'BEGIN { }\ /DATA_SEG_DEFS_HERE/,/BLOCK_ST...
Shell
#!/bin/sh config="$1" make -C seabios clean distclean cp "$config" seabios/.config make -C seabios oldnoconfig
Shell
#!/bin/sh # # MOLPATH is needed if you want to build openbios-mol.elf # MOLPATH=$HOME/mol-0.9.71 if [ x"$1" = x -o "$1" = "-help" ]; then printf "Usage:\n $0 [arch-config]...\n" printf "arch-config values supported for native or cross compiled builds:\n" printf " amd64, ppc, sparc32, sparc64, x86\n\n" printf...
Shell
#!/bin/sh PREF="." for x in 0 1 2 3 4 5 6 7 ; do test -f $PREF/config/configure.in && break PREF="../$PREF" done ROOT=$( echo $(pwd) | sed "s,\(//*[^/][^/]*\)\{$x\}/*\$,," ) RELNAME=$( echo $(pwd) | sed "s,^$ROOT/*,,g" ) echo $RELNAME
Shell
#!/bin/sh # # Copyright IBM, Corp. 2012 # # Authors: # Anthony Liguori <aliguori@us.ibm.com> # # This work is licensed under the terms of the GNU GPLv2 or later. # See the COPYING file in the top-level directory. cat <<EOF <?xml version="1.0"?> <gtester> <info> <package>qemu</package> <version>0.0</version> <r...
Shell
#!/bin/sh export QTEST_QEMU_BINARY=$1 shift "$@"
Shell
#!/bin/sh -e # # Update Linux kernel headers QEMU requires from a specified kernel tree. # # Copyright (C) 2011 Siemens AG # # Authors: # Jan Kiszka <jan.kiszka@siemens.com> # # This work is licensed under the terms of the GNU GPL version 2. # See the COPYING file in the top-level directory. tmpdir=`mktemp -d`...
Shell
#!/bin/bash # PXE ROM build script # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in...
Shell
#!/bin/sh # enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390 program execution by the kernel # load the binfmt_misc module if [ ! -d /proc/sys/fs/binfmt_misc ]; then /sbin/modprobe binfmt_misc fi if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc fi # p...
Shell
#!/bin/sh hxtoh() { flag=1 while read -r str; do case $str in HXCOMM*) ;; STEXI*|ETEXI*|SQMP*|EQMP*) flag=$(($flag^1)) ;; *) test $flag -eq 1 && printf "%s\n" "$str" ;; esac done } hxtotexi() { flag=0 ...
Shell
#! /bin/sh # Construct a target device config file from a default, pulling in any # files from include directives. dest=$1.tmp dep=$1.d src=$2 src_dir=`dirname $src` all_includes= process_includes () { cat $1 | grep '^include' | \ while read include file ; do all_includes="$all_includes $src_dir/$file" pr...
Shell
#!/bin/sh # This script verifies that qerror definitions and table entries are # alphabetically ordered. check_order() { errmsg=$1 shift # sort -C verifies order but does not print a message. sort -c does print a # message. These options are both in POSIX. if ! "$@" | sort -C; then echo "$errmsg" ...
Shell
#!/bin/sh # Convert text files to compilable C arrays. # # Copyright (C) 2007 Free Software Foundation, Inc. # # This file is part of GDB. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; eith...
Shell
#!/bin/bash # # Test that AIO requests are drained before an image is closed. This used # to segfault because the request coroutine kept running even after the # BlockDriverState was freed. # # Copyright (C) 2011 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms...
Shell
#!/bin/bash # # Make sure qemu-img rejects > 127GB images for the vpc format as the format # doesn't support this. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foun...
Shell
#!/bin/bash # # Make sure we can't read and write outside of the image size. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Licens...
Shell
#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is d...
Shell
#!/bin/bash # # qcow2 pattern test, complex patterns including compression and snapshots # Using patterns for 4k cluster size. # # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
Shell
#!/bin/bash # # Test aligned and misaligned write zeroes operations. # # Copyright (C) 2012 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # ...
Shell
#!/bin/bash # # Commit changes to backing file # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any l...
Shell
#!/bin/bash # # Test simple read/write using plain bdrv_read/bdrv_write # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or...
Shell
#!/bin/bash # # Nolan I qcow2 corruption - incorrectly reports free clusters # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Licens...
Shell
#!/bin/bash # # Test bdrv_write_zeroes with backing files # # Copyright (C) 2012 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your op...
Shell
#!/bin/bash # # Let a few AIO requests run in parallel and have them access different L2 # tables so that the cache has a chance to get used up. # # Copyright (C) 2012 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as publish...
Shell
#!/bin/bash # # Test simple asynchronous read/write operations. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at y...
Shell
#!/bin/bash # # Test that sub-cluster allocating writes zero the rest of the cluster # # Copyright (C) 2010 IBM, Corp. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the L...
Shell
#!/bin/bash # # Test loading internal snapshots where the L1 table of the snapshot # is smaller than the current L1 table. # # Copyright (C) 2011 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Softw...
Shell
#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation. # # This program is...
Shell
#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation. # # This program is dist...
Shell
#!/bin/bash # # qcow2 pattern test with various cluster sizes # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at you...
Shell
#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the ...
Shell
#!/bin/bash # # Test simple read/write using bdrv_aio_readv/bdrv_aio_writev # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License...
Shell
#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2002,2006 Silicon Graphics, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation. # # This program is...
Shell
#!/bin/bash # # Merge backing file into test image when converting the image # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Licens...
Shell
#!/bin/bash # # qcow2 pattern test, empty and compressed image - 4k cluster patterns # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of th...
Shell
#!/bin/bash # # Test simple read/write using plain bdrv_pread/bdrv_pwrite # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, ...
Shell
#!/bin/bash # # Test bdrv_load/save_vmstate using the usual patterns # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # ...
Shell
#!/bin/bash # # Nolan II qcow2 corruption - wrong used cluster # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at yo...
Shell
#!/bin/bash # # Make sure qemu-img can create 5TB images # # Based on a testcase from Chris Wright, # https://bugzilla.redhat.com/show_bug.cgi?id=491943 # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as...
Shell
#!/bin/bash # # Check for one possible case of qcow2 refcount corruption. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, ...
Shell
#!/bin/bash # # When using a backing file for the output image in qemu-img convert, # the backing file clusters must not copied. The data must still be # read correctly. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General ...
Shell
#!/bin/bash # # Resizing images # # Copyright (C) 2010 IBM, Corp. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # ...
Shell
#!/bin/bash # # Test for AIO allocation on the same cluster # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your ...
Shell
#!/bin/bash # # Test I/O after EOF for growable images. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your opti...
Shell
#!/bin/bash # # Make sure we can open read-only images # # Regression fixed by commit 11a1feb6552e3a4709e454faea5e3be5ca8d9e6a. # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free ...
Shell
#!/bin/bash # # Test handling of invalid patterns arguments to qemu-io # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or ...
Shell
#!/bin/bash # # Test that backing files can be smaller than the image # # Copyright (C) 2010 IBM, Corp. # # Based on 017: # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software...
Shell
#!/bin/bash # # Simple backing file reads # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Shell
#!/bin/bash # # Rebasing COW images # # Copyright (C) 2009 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later versio...
Shell
#!/bin/bash # # qcow2 error path testing # # Copyright (C) 2010 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Shell