summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorKarel Zak2007-06-15 11:29:04 +0200
committerKarel Zak2007-06-15 11:29:04 +0200
commitb002d0212d3683f3bdcbfeb5c909522d937f8b4c (patch)
tree197a858aaeed05198ba69c8a07d7c9dada2ca4fc /tests/functions.sh
parenttools: add codecheck-config that checks for {HAVE,ENABLE}_ orphans (diff)
downloadkernel-qcow2-util-linux-b002d0212d3683f3bdcbfeb5c909522d937f8b4c.tar.gz
kernel-qcow2-util-linux-b002d0212d3683f3bdcbfeb5c909522d937f8b4c.tar.xz
kernel-qcow2-util-linux-b002d0212d3683f3bdcbfeb5c909522d937f8b4c.zip
tests: fix ts_fstab_add function
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh6
1 files changed, 3 insertions, 3 deletions
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
}