#!/bin/sh

# tests for
. alterator-sh-functions
. ../helpers/lilo-hal.sh

in_language="ru_RU"
dec_pt=$(LC_NUMERIC="$in_language" locale decimal_point)

echo '# list_hard_drives:'
list_hard_drives
echo

echo '# list_partitions:'
list_partitions
echo

echo '# find_others:'
find_others
echo

echo '# get_ide_cdroms:'
get_ide_cdroms
echo

echo '# get_default_boot_dev:'
get_default_boot_dev
echo

echo '# get_partition_devices:'
get_partition_devices
echo

echo '# get_disks:'
get_disks
echo

echo '# get_partitions:'
get_partitions
echo

echo '# get_part_with_mntpt:'
for d in '/' '/boot' '/home'; do
  echo "$d -> $(get_part_with_mntpt $d)"
done
echo

echo '# get_boot_part:'
get_boot_part
echo

