diff --git a/tests/data/test1474 b/tests/data/test1474
index 7e067ab4b7..c27ed7da2a 100644
--- a/tests/data/test1474
+++ b/tests/data/test1474
@@ -89,7 +89,7 @@ HTTP PUT with Expect: 100-continue and 417 response during upload
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt --limit-rate 64K --expect100-timeout 0.001
-perl -e "print 'Test does not work on this BSD system' if ( $^O eq 'netbsd' || $^O eq 'openbsd' || ($^O eq 'solaris' && `uname -r` * 100 <= 510));"
+perl -e "print 'Test does not work on this BSD system' if ( $^O eq 'netbsd' || $^O eq 'openbsd' || ($^O eq 'solaris' && qx/uname -r/ * 100 <= 510));"
# Must be large enough to trigger curl's automatic 100-continue behaviour