X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=debian%2Ftests%2Fsmoke-grml2usb-py2;fp=debian%2Ftests%2Fsmoke-grml2usb-py2;h=0000000000000000000000000000000000000000;hb=1fa8aac195e43574b2704b2a11b78295896b0dd3;hp=67b45d15c634c220f172db25ea8696d42ac8e963;hpb=c921dc11983b7746fed3eedb301183eb0124c647;p=grml2usb.git diff --git a/debian/tests/smoke-grml2usb-py2 b/debian/tests/smoke-grml2usb-py2 deleted file mode 100755 index 67b45d1..0000000 --- a/debian/tests/smoke-grml2usb-py2 +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -exec 2>&1 -set -ex - -TMPDIR=$(mktemp -d) -LODEV=$(losetup -f) -cleanup() { - kpartx -d "$LODEV" || true - losetup -d "$LODEV" || true - rm -rf "$TMPDIR" -} -trap cleanup EXIT - -mkdir "$TMPDIR"/isoroot "$TMPDIR"/isoroot/boot "$TMPDIR"/isoroot/boot/isolinux -cp /usr/lib/ISOLINUX/isolinux.bin "$TMPDIR"/isoroot/boot/isolinux/ -echo 'FAKE' > "$TMPDIR"/isoroot/grml-version -echo 'LOGO' > "$TMPDIR"/isoroot/boot/logo.16 -touch "$TMPDIR"/isoroot/boot/isolinux/FAKE_default.cfg -touch "$TMPDIR"/isoroot/boot/isolinux/FAKE_grml.cfg -touch "$TMPDIR"/isoroot/boot/isolinux/hidden.cfg -xorriso -as mkisofs -l -r -J -no-pad -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o "$TMPDIR"/fake.iso "$TMPDIR"/isoroot -xorriso -dev "$TMPDIR"/fake.iso -ls - -dd if=/dev/zero of="$TMPDIR"/blockdev bs=1M count=50 - -sfdisk "$TMPDIR"/blockdev <