From: Karel Zak Date: Fri, 15 Jun 2007 09:29:04 +0000 (+0200) Subject: tests: fix ts_fstab_add function X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b002d0212d3683f3bdcbfeb5c909522d937f8b4c;p=util-linux tests: fix ts_fstab_add function Signed-off-by: Karel Zak --- diff --git a/tests/functions.sh b/tests/functions.sh index a33b885b..4a59ff32 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -246,14 +246,14 @@ function ts_fstab_addline { local SPEC="$1" local MNT=${2:-"$TS_MOUNTPOINT"} local FS=${3:-"auto"} - local OPT=${4:-"default"} + local OPT=${4:-"defaults"} - echo "$SPEC $MNT $FS defaults 0 0" >> /etc/fstab + echo "$SPEC $MNT $FS $OPT 0 0" >> /etc/fstab } function ts_fstab_add { ts_fstab_open - ts_fstab_addline "$*" + ts_fstab_addline $* ts_fstab_close }