From b002d0212d3683f3bdcbfeb5c909522d937f8b4c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 15 Jun 2007 11:29:04 +0200 Subject: tests: fix ts_fstab_add function Signed-off-by: Karel Zak --- tests/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/functions.sh') diff --git a/tests/functions.sh b/tests/functions.sh index a33b885bc..4a59ff32d 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 } -- cgit v1.2.3-55-g7522