File: test_dirinstall.sh

package info (click to toggle)
grml-debootstrap 0.123
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: sh: 2,562; python: 165; makefile: 72; ansic: 49
file content (15 lines) | stat: -rwxr-xr-x 336 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e
set -u

if ! [ -r /.dockerenv ] ; then
  echo "This doesn't look like a docker container, exiting to avoid data damage." >&2
  exit 1
fi

echo eatmydata >> /etc/debootstrap/packages

eatmydata grml-debootstrap --target /srv/debian --password grml --hostname docker --nokernel --force

bats /srv/test_dirinstall.bats