Univention Bugzilla – Attachment 5161 Details for
Bug 27534
SegFault des Modulprozess beim Reinitialisieren
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Testskript für regelmäßigen Raumwechsel
bug27534.sh (text/plain), 1.19 KB, created by
Sönke Schwardt-Krummrich
on 2013-04-04 18:05:56 CEST
(
hide
)
Description:
Testskript für regelmäßigen Raumwechsel
Filename:
MIME Type:
Creator:
Sönke Schwardt-Krummrich
Created:
2013-04-04 18:05:56 CEST
Size:
1.19 KB
patch
obsolete
>#!/bin/bash ># >COOKIEJAR="$(mktemp)" >TARGET="10.200.18.12" >OU="gsmitte" >GDBDELAY=2 >declare -a ROOMS=("${OU}-Raum0815" "${OU}-Raum Single") >LDAPBASE="dc=nstx,dc=local" > >echo "Login..." >curl --cookie-jar "$COOKIEJAR" \ > --data-binary '{"options":{"username":"Administrator","password":"univention"}}' \ > --header "Content-Type: application/json" \ > "http://$TARGET/umcp/auth" >COOKIE="$(sed -nre 's/^.*UMCSessionId\s+/UMCSessionId=/p' "$COOKIEJAR")" > >echo "List rooms..." >curl --cookie "$COOKIE" \ > --cookie-jar "$COOKIEJAR" \ > --header "Content-Type: application/json" \ > --data-binary '{"options":{"school":"gsmitte"}}' \ > "http://$TARGET/umcp/command/computerroom/room/acquire" >echo > >echo "Waiting for gdb..." >for i in $(seq $GDBDELAY -1 0); do echo -n "$i..."; sleep 1; done >echo > >for i in $(seq 1 10000) ; do > for room in "${ROOMS[@]}" ; do > echo "$i: Change room to '$room' ..." > curl --cookie "$COOKIE" \ > --cookie-jar "$COOKIEJAR" \ > --header "Content-Type: application/json" \ > --data-binary "{\"options\":{\"school\":\"$OU\",\"room\":\"cn=${room},cn=raeume,cn=groups,ou=$OU,$LDAPBASE\"}}" \ > "http://$TARGET/umcp/command/computerroom/room/acquire" > echo > sleep 1s > done >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 27534
:
4436
| 5161