08-27-周三_17-09-29

This commit is contained in:
2025-08-27 17:10:05 +08:00
commit 86df397d8f
12735 changed files with 1145479 additions and 0 deletions

23
node_modules/dnode-protocol/testling/test.sh generated vendored Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
if test -z "$user"; then
echo -n "username: "
read user
fi
browsers=""
if test -n "$2"; then
browsers="browsers=$2"
fi
function testFile {
tar -cf- index.js "$1" node_modules/traverse/index.js \
| curl -u "$user" -sSNT- \
"http://testling.com/?$browsers&main=$1"
}
if test -f "$1"; then
testFile "$1"
else
echo not
fi