← Commit list

9f2e82ad2

Denys Vlasenko
Denys Vlasenko
2009-08-29
FAILED Duration: 31s

Subject

ash: add testsuite for bug 585

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash_test/ash-redir/redir7.right+3 -0
@@ -0,0 +1,3 @@
+Ok
+Ok
+Done
shell/ash_test/ash-redir/redir7.tests+10 -0
@@ -0,0 +1,10 @@
+# Chars above 0x7f are used as special codes.
+# 0x81 is CTLESC (see ash.c).
+# The bug was that quoting and unquoting of them
+# was out of sync for redirect filenames.
+echo -e 'echo Ok >uni\x81code' >unicode.sh
+echo -e 'cat uni\x81code' >>unicode.sh
+echo -e 'cat uni?code' >>unicode.sh
+. unicode.sh
+rm uni*code*
+echo Done