X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=d9199d5bcce97821f339d6103a1459570081faaa;hp=47a58fea808421d0ff5f3a5e28ed3c43211ea351;hb=9c4156e6fc146a198bb342e28eb246f1076889bd;hpb=ac25785328d31f63bd76a03f9cbb76f7f31f2ab0 diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 47a58fe..d9199d5 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5289,14 +5289,14 @@ test_60d() { # verify "lctl mark" is even working" MESSAGE="test message ID $RANDOM $$" - $LCTL mark "$MESSAGE" || error "$LCTL mark failed" + $LCTL mark "$HOSTNAME $MESSAGE" || error "$LCTL mark failed" dmesg | grep -q "$MESSAGE" || error "didn't find debug marker in log" lctl set_param printk=0 || error "set lnet.printk failed" lctl get_param -n printk | grep emerg || error "lnet.printk dropped emerg" MESSAGE="new test message ID $RANDOM $$" # Assume here that libcfs_debug_mark_buffer() uses D_WARNING - $LCTL mark "$MESSAGE" || error "$LCTL mark failed" + $LCTL mark "$HOSTNAME $MESSAGE" || error "$LCTL mark failed" dmesg | grep -q "$MESSAGE" && error "D_WARNING wasn't masked" || true lctl set_param -n printk="$SAVEPRINTK"