summaryrefslogtreecommitdiffstats
path: root/tests/018
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-09-03 23:20:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-09-03 23:20:02 -0700
commitce7240c36c1f143812f86b01e05318474d569f1c (patch)
tree218f9c659207685873c939975b1525fcca1d22c4 /tests/018
parent60dd1c1c6af5c179f598dea60896ba9584d139ad (diff)
downloadtxr-ce7240c36c1f143812f86b01e05318474d569f1c.tar.gz
txr-ce7240c36c1f143812f86b01e05318474d569f1c.tar.bz2
txr-ce7240c36c1f143812f86b01e05318474d569f1c.zip
crypt: newly proposed test still fails on Musl.
* tests/018/crypt.tl: replace (crypt "a" "*$") test with (crypt "a" "::"). Musl's crypt treats all unrecognized hashes through DES, and the DES module accepts almost anything as salt characters, except '\0', '\n' and ':', since those characters would wreck the password file.
Diffstat (limited to 'tests/018')
-rw-r--r--tests/018/crypt.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/018/crypt.tl b/tests/018/crypt.tl
index 7e68d6c7..cdc51841 100644
--- a/tests/018/crypt.tl
+++ b/tests/018/crypt.tl
@@ -11,7 +11,7 @@
(if (eq :linux (os-symbol))
(mtest
(crypt "a" "b") :error
- (crypt "a" "*$") :error
+ (crypt "a" "::") :error
(crypt "a" "$1$") "$1$$Ij31LCAysPM23KuPlm1wA/"
(crypt "a" "$1$bcd$") "$1$bcd$cgz778Ks3pkbWfyW.CWae/"
(crypt "a" "$5$") "$5$$QG6CCM7eJAxpUPcBpn0Z2K29NHtaI6Mk1fCpPrpjdj3"