github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/bisync/testdata/test_normalization/scenario.txt (about) 1 test normalization 2 # Tests support for --no-unicode-normalization and --ignore-case-sync 3 # note: this test is written carefully to be runnable regardless of case/unicode sensitivity 4 # i.e. the results should be the same on linux and macOS 5 6 # force specific modification time since file time is lost through git 7 touch-copy 2001-01-02 {datadir/}file1.txt {path2/} 8 test initial bisync 9 bisync resync 10 11 # copy NFC version to Path1 12 copy-as-NFC {datadir/}file1.txt {path1/}測試_Русский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Русский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt 13 copy-as-NFC {datadir/}file1.txt {path1/}folder éééö.txt 14 copy-as-NFC {datadir/}file1.txt {path1/}folder HeLlO,wOrLd!.txt 15 16 # place newer NFD version on Path2 17 touch-copy 2001-01-03 {datadir/}file1.txt {path2/} 18 copy-as-NFD {datadir/}file1.txt {path2/}folder éééö.txt 19 copy-as-NFD {datadir/}file1.txt {path2/}folder hello,WORLD!.txt 20 21 test bisync run with fix-case 22 bisync fix-case 23 24 # purge and reset 25 purge-children {path1/} 26 purge-children {path2/} 27 touch-copy 2001-01-02 {datadir/}file1.txt {path2/} 28 copy-as-NFC {datadir/}file1.txt {path2/} file2.txt 29 copy-as-NFC {datadir/}file1.txt {path1/} file3.txt 30 bisync resync 31 32 # copy NFC version to Path1 33 # note: need to slightly change the name to avoid Drive known issue #3262 which could try to copy the old name from the trash 34 copy-as-NFC {datadir/}file1.txt {path1/}測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt 35 copy-as-NFC {datadir/}file1.txt {path1/}newfolder éééö.txt 36 copy-as-NFC {datadir/}file1.txt {path1/}newfolder HeLlO,wOrLd!.txt 37 38 # place newer NFD version on Path2 39 touch-copy 2001-01-03 {datadir/}file1.txt {path2/} 40 copy-as-NFD {datadir/}file1.txt {path2/}newfolder éééö.txt 41 copy-as-NFD {datadir/}file1.txt {path2/}newfolder hello,WORLD!.txt 42 43 test bisync run with normalization 44 bisync norm force 45 46 test resync 47 bisync resync norm 48 49 test changed on one path 50 touch-copy 2001-01-05 {datadir/}file1.txt {path2/} 51 copy-as-NFC {datadir/}file1.txt {path1/}測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt 52 copy-as-NFC {datadir/}file1.txt {path1/}newfolder éééö.txt 53 copy-as-NFC {datadir/}file1.txt {path1/}newfolder HeLlO,wOrLd!.txt 54 bisync norm