X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Frefile%2Ftest-refile;h=62f086df15a064dd4edbe5ab761a9213b9378e8d;hb=a4390a1c51b3a709d6aeefeba2fdd6fa8d525012;hp=0d9303cf1b6d9c5547c8da46bb0fee796ab94b28;hpb=587e977a97865f091131355f6dd250ece99f7adb;p=mmh diff --git a/test/refile/test-refile b/test/refile/test-refile index 0d9303c..62f086d 100755 --- a/test/refile/test-refile +++ b/test/refile/test-refile @@ -115,10 +115,8 @@ other+ has 1 message (1- 1). TOTAL = 11 messages in 2 folders.' -printf '' > $$.txt -set +e -if link $$.txt $$-2.txt 2>/dev/null; then - # Hard links are supported. +check_for_hard_links +if [ $hard_links_supported -eq 1 ]; then # check -link run_test 'refile 7 -src +inbox +other -link' '' run_test 'folders -noheader' \ @@ -136,8 +134,6 @@ else cp -p Mail/inbox/7 Mail/other/2 folder -f +inbox 7 >/dev/null fi -set -e -rm -f $$.txt $$-2.txt # check -nolink run_test 'refile 7 +other -link -nolink' ''