summaryrefslogtreecommitdiffstats
path: root/tools/regression/msdosfs/msdosfstest-6.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/msdosfs/msdosfstest-6.sh')
-rw-r--r--tools/regression/msdosfs/msdosfstest-6.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/regression/msdosfs/msdosfstest-6.sh b/tools/regression/msdosfs/msdosfstest-6.sh
index d64472d..c580b3e 100644
--- a/tools/regression/msdosfs/msdosfstest-6.sh
+++ b/tools/regression/msdosfs/msdosfstest-6.sh
@@ -9,8 +9,13 @@ mdconfig -a -t swap -s 128m -u 10
bsdlabel -w md10 auto
newfs_msdos -F 32 -b 8192 /dev/md10a
mount_msdosfs -L zh_TW.Big5 -D CP950 /dev/md10a /tmp/msdosfstest/
-mkdir '/tmp/msdosfstest/是否看過坊間常見的許茹芸淚海慶功宴吃蓋飯第四集'
-cd '/tmp/msdosfstest/是否看過坊間常見的許茹芸淚海慶功宴吃蓋飯第四集'
+# The comment is UTF-8, the actual command uses the Big5 representation.
+# mkdir /tmp/msdosfstest/臬衣撣貉閮梯寡豢瘚瑟嗅摰游憌舐洵
+subdir=$'\254\117\247\137\254\335\271\114\247\173\266\241\261\140\250\243'\
+$'\252\272\263\134\257\370\252\345\262\134\256\374\274\171\245\134'\
+$'\256\142\246\131\273\134\266\272\262\304\245\174\266\260'
+mkdir /tmp/msdosfstest/$subdir
+cd /tmp/msdosfstest/$subdir
if [ $? -eq 0 ]; then
echo "ok 6";
else
OpenPOWER on IntegriCloud