diff options
author | Karel Zak | 2007-06-15 11:29:04 +0200 |
---|---|---|
committer | Karel Zak | 2007-06-15 11:29:04 +0200 |
commit | b002d0212d3683f3bdcbfeb5c909522d937f8b4c (patch) | |
tree | 197a858aaeed05198ba69c8a07d7c9dada2ca4fc /tests/functions.sh | |
parent | tools: add codecheck-config that checks for {HAVE,ENABLE}_ orphans (diff) | |
download | kernel-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.sh | 6 |
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 } |